Does anyone know if it is possible to build a TTF (or other) font file that will ALWAYS create characters of a certain size - much larger than other fonts?
What I mean is this - a TTF font file will normally specify fonts of different sizes and types (eg bold, italic etc) but sometimes I find that certain fonts will not allow changes - they always display as non-bold, non-italic, or as capitals only.
I assume that is because the font designer built the TTF that way - in a sort of "cost reduced" format that has limited variants.
So I wondered if a TTF could be made that always shows up as, say, font size 20 or larger??
eg: could be called "TimesNewRomanGiant.TTF" or similar
Giant font? Possible?
Giant font? Possible?
Last edited by greengeek on Sun 28 Jun 2020, 09:18, edited 1 time in total.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
Re: Giant font? Possible?
A TTF font has no defined size. It's scalable by definition, so you can have it in any size you want. Some fonts use fine details not clearly visible when you set the size too low, but again that's not a question of font design but rather a question of choosing the size that's most comfortable for you.greengeek wrote:Does anyone know if it is possible to build a TTF (or other) font file that will ALWAYS create characters of a certain size - much larger than other fonts?
Re: Giant font? Possible?
Thanks for the clarification Mochi.MochiMoppel wrote:A TTF font has no defined size. It's scalable by definition, so you can have it in any size you want.
What prompted my question was the example you offered on your font thread - showing the use of font name specification within gxmessage. I had not seen that before and i will find it useful as I use gxmessage a lot.
However - it seems there is no similar "font size" spec for gxmessage so the impact of using a non-default font is somewhat lost (especially if it is a difficult to read fancy font). I hoped there might have been a way to choose a special font within gxmessage so that it stood out more than the small sized default system font.
- Attachments
-
- gxmessage_tinyfont.jpg
- (17.02 KiB) Downloaded 60 times
You might be able to run it with a special gtkrc to increase the font.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Gxmessage manual page says this - are you trying to do something else?
-fn | -font FONT
Specifies the message font, using GTK2's font specification system. For example,
-font "serif italic 14". (GTK2's font system is not compatible with xmessage. See
the Compatibility section, below, for a workaround.)
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Brilliant! Thanks!disciple wrote:Gxmessage manual page says this - are you trying to do something else?
-fn | -font FONT
Specifies the message font, using GTK2's font specification system. For example,
-font "serif italic 14".
I had displayed the --help info for gxmessage but did not spot that little gem.
cheers!
EDIT - i had thought that the "-fn" parameter indicated "font name" and I had no idea it was possible to include the size spec along with the name too. Very handy.
- Attachments
-
- gxmessage_bigfont.jpg
- (14.83 KiB) Downloaded 47 times
Heeheehee, i dont need yad or yafsplash any more now that i can instruct the user using big fonts in gxmessage! This will be handy.
- Attachments
-
- SuperBigFont.jpg
- (51.39 KiB) Downloaded 29 times