Size of the glyph

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Hayder
Posts: 3
Joined: Mon Jan 07, 2019 3:49 pm

Size of the glyph

Post by Hayder »

Dear all,
I have FontCreator Professional Edition and I would like to creAte a font library that has a fixed size of the glyph with these properties:
  • Size of a glyph <= 127 x 127 pixels
  • Top to the baseline = Max 127
  • Width = Max 127
Could you help me to setup these properties?

Thank in advance

Regards
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Size of the glyph

Post by Bhikkhu Pesala »

TrueType fonts are scalable vectors, not bitmaps so it is difficult to design glyphs in that way. I design my fonts to have a default line-spacing of 12 points (1/6") for 10 point text. In theory, a glyph using exactly half of the design space would be 6 points, 1/12", or 6 pixels @ 96 pixels per inch.

Design the font how you want, then choose the font size in the application to generate a bitmap of 127 pixels. You can test your font in the target application without installing it by opening the Font Test Window, then selecting the Font shown in that Window, in your application. Trial and error is likely to be quicker and more accurate than doing the calculations.

See this thread for a discussion on a similar issue — how to get Caps Height = 1"

A quick test indicates that you would have to use a point size of about 140 points in the application, but it depends on how big the glyph is compared to the overall height of the font between WinAscent and WinDescent.

Black Circle ● is usually bigger than a Bullet • and both are bigger than Period .
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Hayder
Posts: 3
Joined: Mon Jan 07, 2019 3:49 pm

Re: Size of the glyph

Post by Hayder »

Thanks for fast response.
I am new in the FontCreator.
Could you give me more details about how to configure the line-spacing and bounding box?

Thanks in advance.

Regards
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Size of the glyph

Post by Bhikkhu Pesala »

Did you read the linked thread?
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Hayder
Posts: 3
Joined: Mon Jan 07, 2019 3:49 pm

Re: Size of the glyph

Post by Hayder »

Yes, I did.
But they are using an old version of FontCreator and also there is no more details about the configuration.
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Re: Size of the glyph

Post by William »

An important thing to know is that in Windows based systems (I don't know one way or the other about other systems) when one chooses a particular point size in an application program, the point size is only from the baseline upwards. So in a font where the lower part of g j p q y goes below the baseline that is extra and not included in the point size. The parts below the baseline are called descenders. So if there are two fonts that are the same except that one font has longer descenders than the other font, then the one font will have a larger displayed height per line of text than the other font, even when displayed at the same point size. This is entirely different from with metal type where the point size is the height of the piece of metal.

I am not sure where it stops above the baseline, maybe it is at WinAscent but I am not sure.

Another point to know is that Windows systems have 96 pixels for 72 points. That is, four pixels for every point.

I have found that setting WinAscent at 2048 and WinDescent at -768 or -1024 works for me.

Then I set the grid spacing at 256 font units and I have the grid lines orange and the line such as Baseline and so on in blue, with solid (ie not dotted) lines.

Having that set up means that I can design such that the orange squares are 256 font units by 256 font units and that they will each be 2 pixels by 2 pixels at 12 point. That is because there are 8 squares vertically from the baseline to WinAscent and they will be 16 pixels at 12 point size.

I find this helpful because I can draw lines in the font so as to coincide with the orange lines and that helps in rendering the font crisply on the screen.

These are personal choices and other people may well have different views.

William
Post Reply