logo       

Re: generating correct sfnt ttf files: msg#00050

fonts.fontforge.user

Subject: Re: generating correct sfnt ttf files

On Tue, 2006-08-29 at 19:42, mpsuzuki@xxxxxxxxxxxxxxxxx wrote:
> >FontForge will not create a 'glyf' (or 'CFF ' or 'typ1') table if it is
> >creating an OpenType Bitmap, or an "sbits only dfont", but if Qianqian
> >selected "In TTF" with no outline font, FontForge produces something
> >designed to fool windows into accepting the font -- that means it has a
> >'glyf' table with a bunch of empty glyphs, and an EBSC table that maps
> >all pixel sizes to one of the supplied sizes.
Grr. Pretty much everything I said seems to have been wrong. I spoke
from memory.

The OpenType bitmap spec calls for a 0-length 'glyf' table, and ff does
generate one, and a tiny 'loca' table to go with it.

Generating Apple style bitmaps only worked if Apple mode were set in the
[Options] dialog.

I have rewritten the Generate Fonts dlg to try and make everything
clearer (this is now in cvs).
* "In TTF" will only be available if one is generating a vector
ttf or otf font. Whether 'bdat' or 'EBDT' or both are used is
determined by Apple and OpenType bits in the [Options] dlg.
* There are now three separate entries in the bitmap pull-down for
the three types of bitmap only sfnts fontforge will generate.
These should be independent (at least the bitmap format) of
the settings in [Options].
* I've written up a little blurb summarizing what I know (or believe)
about the bitmap only sfnt formats.
http://fontforge.sf.net/bitmaponlysfnt.html

As explained to me, the opentype bitmap format requires a zero length
'glyf' table, and if freetype determines whether a font is scalable by
checking for the existence of this table then we have trouble.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise