Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ I can't seem to successfully add a font?
|
I can't seem to successfully add a font?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| VBMeireles
Brazil (47 posts) Bio
|
| Date
| Tue 26 Apr 2016 09:37 AM (UTC) Amended on Wed 27 Apr 2016 01:11 PM (UTC) by VBMeireles
|
| Message
| RESOLVED: The font is now showing up on the GUI list. (I have no idea why it wasn't before.)
I type this in my command bar (\\\ is the script escape sequence):
\\\Note(AddFont(GetInfo(66).."fonts\\luximr.ttf"))
I get the following output:
However, when I go to output font configuration, Luxi Mono is just not there.
What am I missing? |
Vinícius | | Top |
|
| Posted by
| Wuggly
USA (112 posts) Bio
|
| Date
| Reply #1 on Tue 26 Apr 2016 09:52 AM (UTC) Amended on Tue 26 Apr 2016 09:54 AM (UTC) by Wuggly
|
| Message
| Until one of the Pros gets here to answer, my guess is that backslash after fonts. Try escaping it.
ie:
\\Note(AddFont(GetInfo(66).."fonts\\luximr.ttf"))
Personally whenever I use GetInfo(66) I use a forward slash. It works the same way.
ie:
\\Note(AddFont(GetInfo(66).."fonts/luximr.ttf"))
| | Top |
|
| Posted by
| VBMeireles
Brazil (47 posts) Bio
|
| Date
| Reply #2 on Tue 26 Apr 2016 10:13 AM (UTC) |
| Message
| I appreciate the suggestion, but both slashes yield the same result: 0 (which is a "no errors" code).
The fact that I get a "no errors" code is even weirder to me, since the font is just not there for the picking.
I've also tried just AddFont()'ing (outside any Note()'s), but it's no different. |
Vinícius | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Tue 26 Apr 2016 10:10 PM (UTC) |
| Message
| I tried another font (3 of 9 barcode, heh) using the code in the original post, and it worked. It appeared in the output configuration font chooser.
Try another font, see if you get different results.
 |
Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| VBMeireles
Brazil (47 posts) Bio
|
| Date
| Reply #4 on Wed 27 Apr 2016 12:06 PM (UTC) Amended on Wed 27 Apr 2016 01:12 PM (UTC) by VBMeireles
|
| Message
| I'd like to add that once AddFont()'ed, the font is available for me to SetOutputFont(). It just doesn't show up in the font listing window for the clicking (and for use with Aardwolf's chat redirection plugin etc).
EDIT: The font now shows up on the list. I've edited the OP to say that. |
Vinícius | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
18,930 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top