freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Re: [Freetype] font family names


From: Werner LEMBERG
Subject: [Devel] Re: [Freetype] font family names
Date: Fri, 29 Dec 2000 13:59:50 +0100 (CET)

From: "David F. Newman" <address@hidden>
Subject: Re: [Freetype] font family names
Date: Wed, 27 Dec 2000 09:36:09 -0500 (EST)

> On Wed, 27 Dec 2000, Werner LEMBERG wrote:
> 
> > Please send me the font for testing.
> > 
> OK.  Here it is.  Windows reports that this font name is
> "18thCentury".  FreeType reports the name as "New", however, seems
> to have no problems rendering the glyphs.  Maybe this is a Microsoft
> "Enhancement" to the spec to foil the opensource community.  :-)

No, both MS and FreeType are behaving correctly.  Below is the output
from Just van Rossum's ttDump for the `name' table; the key point is
that FreeType, by default, returns the first valid name record, and
this is `New' (for Apple) -- the author of this font hasn't filled
correct values for the Apple platform.  Unfortunately, we don't have
implemented an extension in FT2 to select name records, so you have to
access the structures directly.


    Werner

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

<?xml version='1.0'?>
<ttFont sfntVersion="\000\001\000\000" ttLibVersion="1.0a6">

  <name>
    <namerecord nameID="0" platformID="1" platEncID="0" langID="0x0">
      Copyright
    </namerecord>
    <namerecord nameID="1" platformID="1" platEncID="0" langID="0x0">
      New
    </namerecord>
    <namerecord nameID="2" platformID="1" platEncID="0" langID="0x0">
      Regular
    </namerecord>
    <namerecord nameID="3" platformID="1" platEncID="0" langID="0x0">
      New
    </namerecord>
    <namerecord nameID="4" platformID="1" platEncID="0" langID="0x0">
      New
    </namerecord>
    <namerecord nameID="5" platformID="1" platEncID="0" langID="0x0">
      Version 1.00
    </namerecord>
    <namerecord nameID="6" platformID="1" platEncID="0" langID="0x0">
      New
    </namerecord>
    <namerecord nameID="7" platformID="1" platEncID="0" langID="0x0">
      Trademark
    </namerecord>
    <namerecord nameID="0" platformID="3" platEncID="1" langID="0x409">
      none
    </namerecord>
    <namerecord nameID="1" platformID="3" platEncID="1" langID="0x409">
      18thCentury
    </namerecord>
    <namerecord nameID="2" platformID="3" platEncID="1" langID="0x409">
      Regular
    </namerecord>
    <namerecord nameID="3" platformID="3" platEncID="1" langID="0x409">
      18thCentury
    </namerecord>
    <namerecord nameID="4" platformID="3" platEncID="1" langID="0x409">
      18thCentury
    </namerecord>
    <namerecord nameID="5" platformID="3" platEncID="1" langID="0x409">
      Version 1.00
    </namerecord>
    <namerecord nameID="6" platformID="3" platEncID="1" langID="0x409">
      18thCentury
    </namerecord>
    <namerecord nameID="7" platformID="3" platEncID="1" langID="0x409">
      douglas edited
    </namerecord>
  </name>

</ttFont>



reply via email to

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