« Return to Thread: BDF to Apple bitmap-only dfont, wrong line height

Re: BDF to Apple bitmap-only dfont, wrong line height

by Tobia Conforto :: Rate this Message:

Reply to Author | View in Thread

Here's a followup:

If I open 9x18.bdf and clear (Edit/Clear) every glyph except ASCII  
(00-7f), the exported .dfont has the correct line-height (18px)

If I leave even one non-ASCII glyph (for example à, agrave), the  
exported .dfont has the wrong line-height (24px)

If I "touch" that glyph, by setting a pixel somewhere and then  
unsetting it, the .dfont is once again correct.

It would appear that in the original font all non-ASCII glyphs have  
something stuck on them (a bounding box value, or something to that  
effect?) that pushes the line-height to 24px.  It seems to me that it  
can be recomputed, and thus fixed, by simply touching the glyphs.


Any idea how can I make Fontforge recompute that value, whatever it  
is, without manually touching thousands of glyphs?


Tobia
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users

 « Return to Thread: BDF to Apple bitmap-only dfont, wrong line height