freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Telling font types from an FT_Face?


From: Werner LEMBERG
Subject: Re: [Devel] Telling font types from an FT_Face?
Date: Wed, 24 Dec 2003 21:56:07 +0100 (CET)

> >   SFNT_TT_SBIT       -- OT spec (only bitmaps) [3]
> > [3] I'm not sure whether this subtype is really useful.

> Um... are you sure this is in the OT spec? I thought it was an
> extension thought up by the X11 people?

You are correct.  BTW, do we already support SBIT-only fonts for the
X11 people?  Are there some test fonts available?

> Additional format: [...]

Below is a new try to classify font formats.  IMHO it's *extremely*
difficult to do.  Any suggestions/corrections to improve this table is
highly welcome.  I plan to add this file (formats.txt) to the `docs'
directory.


     Werner

======================================================================


This file contains a list of various font formats.  It gives the
reference document and whether it is supported in FreeType 2.


file wrapper font   font    glyph      FreeType  reference
type format  format type    access     driver    documents
---------------------------------------------------------------------

---  ---     BDF    ---     ---        bdf       5005.BDF_Spec.pdf, X11


---  SFNT    PS     TYPE_1  ---        ---       Type 1 GX Font Format
                                                 (for the Mac)
MAC  SFNT    PS     TYPE_1  ---        ---       Type 1 GX Font Format
                                                 (for the Mac)
---  SFNT    PS     TYPE_1  CID        ---       5180.sfnt.pdf (for the Mac)
MAC  SFNT    PS     TYPE_1  CID        ---       5180.sfnt.pdf (for the Mac)
---  SFNT    PS     CFF     ---        cff       OT spec, 5176.CFF.pdf
                                                 (`OTTO' format)
MAC  SFNT    PS     CFF     ---        cff       OT spec, 5176.CFF.pdf
                                                 (`OTTO' format)
---  SFNT    PS     CFF     CID        cff       OT spec, 5176.CFF.pdf
MAC  SFNT    PS     CFF     CID        cff       OT spec, 5176.CFF.pdf
---  SFNT    PS     CFF     SYNTHETIC  ---       OT spec, 5176.CFF.pdf
MAC  SFNT    PS     CFF     SYNTHETIC  ---       OT spec, 5176.CFF.pdf
---  SFNT    TT     SBIT    ---        ---       X11? (bitmaps only;
                                                 `head' table)
---  SFNT    TT     MACSBIT ---        sfnt      OT spec (for the Mac;
                                                 bitmaps only; `bhed' table)
MAC  SFNT    TT     MACSBIT ---        sfnt      OT spec (for the Mac;
                                                 bitmaps only; `bhed' table)
---  SFNT    TT     ---     ---        truetype  OT spec (`normal' TT font)
MAC  SFNT    TT     ---     ---        truetype  OT spec (`normal' TT font)
---  SFNT    TT     ---     COLLECTION truetype  OT spec (this can't be CFF)
MAC  SFNT    TT     ---     COLLECTION truetype  OT spec (this can't be CFF)


---  ---     PS     TYPE_1  ---        type1     T1_SPEC.pdf
                                                 (`normal' Type 1 font)
MAC  ---     PS     TYPE_1  ---        type1     T1_SPEC.pdf
                                                 (`normal' Type 1 font)
---  ---     PS     TYPE_1  CID        cid       PLRM.pdf (CID Font Type 0;
                                                 Type 9 font)
---  ---     PS     MM      ---        type1     5015.Type1_Supp.pdf
                                                 (Multiple Masters)
---  ---     PS     CFF     ---        cff       5176.CFF.pdf (`pure' CFF)
---  ---     PS     CFF     CID        cff       5176.CFF.pdf (`pure' CFF)
---  ---     PS     CFF     SYNTHETIC  ---       5176.CFF.pdf (`pure' CFF)
---  PS      PS     CFF     ---        ---       PLRM.pdf (Type 2) [1]
---  PS      PS     CFF     CID        cff       PLRM.pdf (Type 2) [1]
---  PS      PS     CFF     SYNTHETIC  ---       PLRM.pdf (Type 2) [1]
---  ---     PS     ---     TYPE_0     ---       PLRM.pdf
---  ---     PS     TYPE_3  ---        ---       PLRM.pdf (never supported)
---  ---     PS     TYPE_3  CID        ---       PLRM.pdf (CID Font Type 1;
                                                 Type 10 font; never supported)
---  PS      PS     TYPE_14 ---        ---       PLRM.pdf (Chameleon font;
                                                 Type 14 font; never supported?)
---  ---     PS     TYPE_32 CID        ---       PLRM.pdf (CID Font Type 4;
                                                 Type 32 font; never supported?)
---  PS      TT     ---     ---        type42    5012.Type42_Spec.pdf
                                                 (Type 42 font)
---  PS      TT     ---     CID        ---       PLRM.pdf (CID Font Type 2;
                                                 Type 11 font)


---  ?       ?      CEF     ?          cff       ?


---  ---     PCF    ---     ---        pcf       X11


---  ---     PFR    ---     ---        pfr       ?


---  ---     WINFNT ---     ---        winfonts  MS Windows 3 Developer's Notes
---  ---     WINFNT VECTOR  ---        ---       MS Windows 3 Developer's Notes


[1] Support should be rather simple since this is identical to `CFF'
    but in a PS wrapper.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]