|
Re: generating correct sfnt ttf files: msg#00045fonts.fontforge.user
Hi, slightly off-topic question about fontforge usage. On 29 Aug 2006 15:39:15 -0700 George Williams <gww@xxxxxxxxxx> wrote: >> No, freetype2 sets FT_FACE_FLAG_SCALABLE when there is >> glyf or CFF tables are included, even if they includes >> only gid=0 fallback glyph. >Depending on how the sfnt was created, this might be the problem. > >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. I think, "omitting glyf" is implemented in very recent revision. fontforge_full-20060619.tar.bz2 (and older version?) generates sbit-only-dfont including glyf. am I right? BTW, When I generate sbit-dfont by fontforge, the result includes EBLC/EBDT, instead of bloc/bdat. When I switch "Apple" button off in "File"->"Generate Fonts"->"Options", the result has no EBLC/EBDT nor bloc/bdat. Is it expected behaviour? However, the platform supporting .dfont is quite limited, so I think it won't cause any trouble. following is my analysis of sbit-only-dfont generated by latest fontforge (I checkouted today). [MAP] reftype:sfnt, 0 refs, offset 26 [MAP] reftype:NFNT, 3 refs, offset 38 [MAP] reftype:FOND, 0 refs, offset 86 [RefHdr] id=170e attr=0000 handle=00000000 name.offset=0xffff data.offset=0x00000000 [RefHdr] id=171a attr=0000 handle=00000000 name.offset=0xffff data.offset=0x0033f8b8 [RefHdr] id=171b attr=0000 handle=00000000 name.offset=0xffff data.offset=0x0033f8d6 [RefHdr] id=171d attr=0000 handle=00000000 name.offset=0xffff data.offset=0x0033f8f4 [RefHdr] id=171e attr=0000 handle=00000000 name.offset=0xffff data.offset=0x0033f912 [RefHdr] id=170e attr=0000 handle=00000000 name.offset=0x0000 data.offset=0x0033f930 [MAP] refs type [sfnt] ref #0 offset to RefName (0x0000ffff) is beyond length of nameList(0x00000016), no name RsrcScnInList: read 4 byte header from 0x00000100 + 0x00000000 [sfnt] version = 0x00 0x01 0x00 0x00 [sfnt] numTables = 0x000f tag EBDT offset 0x0007163c length 0x00283229 checkSum 0xe5d175b1 tag EBLC offset 0x002f4868 length 0x0004addc checkSum 0x3b8312ad tag EBSC offset 0x0033f644 length 0x00000254 checkSum 0xdee66d88 tag FFTM offset 0x0033f898 length 0x0000001c checkSum 0x42470a5f tag GDEF offset 0x0007150c length 0x000000a2 checkSum 0x20afa42d tag GPOS offset 0x0007161c length 0x00000020 checkSum 0x44764c75 tag GSUB offset 0x000715b0 length 0x0000006c checkSum 0xad01ae9a tag OS/2 offset 0x00000178 length 0x00000056 checkSum 0xdaaabf4e tag cmap offset 0x000214e8 length 0x000005a2 checkSum 0x8065d712 tag head offset 0x000000fc length 0x00000036 checkSum 0xe16444be tag hhea offset 0x00000134 length 0x00000024 checkSum 0x0402871f tag hmtx offset 0x000001d0 length 0x00021318 checkSum 0xf5600021 tag maxp offset 0x00000158 length 0x00000020 checkSum 0x85080003 tag name offset 0x00021a8c length 0x000026f8 checkSum 0x9fa3d657 tag post offset 0x00024184 length 0x0004d386 checkSum 0x8ec86c66 ------------------------------------------------------------------------- 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> |
|---|---|---|
| Previous by Date: | Re: generating correct sfnt ttf files: 00045, George Williams |
|---|---|
| Next by Date: | Re: generating correct sfnt ttf files: 00045, George Williams |
| Previous by Thread: | Re: generating correct sfnt ttf filesi: 00045, George Williams |
| Next by Thread: | Re: generating correct sfnt ttf files: 00045, George Williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |