freetype
[Top][All Lists]
Advanced

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

Re: Aw: Re: Re: Re: Re: Native TTF name sometimes contains crap


From: Werner LEMBERG
Subject: Re: Aw: Re: Re: Re: Re: Native TTF name sometimes contains crap
Date: Mon, 06 Sep 2021 14:07:57 +0000 (UTC)

[Thanks for the font.  Note, however, that I've asked to send the file
 off-list!  First of all, it is far too big, so it was properly
 rejected, fortunately.  Second, it is a non-free font, which must not
 be distributed.]

> Please find the ftdump output and the related font attached.

This explains a lot, thanks.  Your version of the `ftdump` program is
too old; it has been fixed a long time ago to no longer mangle the
high byte of UTF-16 characters.  Below you can see the output I get if
I call `ftdump -n -u simhei.ttf`.


    Werner


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


There is 1 face in this file.

----- Face number: 0 -----

font name entries
   family:     SimHei
   style:      Regular
   postscript: SimHei
   created:    2004-02-04
   modified:   2017-11-13
   revision:   5.03

font type entries
   FreeType driver: truetype
   sfnt wrapped:    yes
   type:            scalable
   direction:       horizontal, vertical
   fixed width:     no
   glyph names:     no
   EM size:         256
   global BBox:     (-3,-40):(255,220)
   ascent:          220
   descent:         -36
   text height:     292
   glyph count:     28562

font string entries
   font subfamily (ID 2) [Microsoft] (language=0x0403):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0405):
      "obyčejné"
   font subfamily (ID 2) [Microsoft] (language=0x0406):
      "normal"
   font subfamily (ID 2) [Microsoft] (language=0x0407):
      "Standard"
   font subfamily (ID 2) [Microsoft] (language=0x0408):
      "Κανονικά"
   copyright (ID 0) [Microsoft]:
      "© Beijing ZhongYi Electronics Co., 1995-2005, All rights reserved"
   font family (ID 1) [Microsoft]:
      "SimHei"
   font subfamily (ID 2) [Microsoft]:
      "Regular"
   unique font identifier (ID 3) [Microsoft]:
      "SimHei"
   full name (ID 4) [Microsoft]:
      "SimHei"
   version string (ID 5) [Microsoft]:
      "Version 5.03"
   PostScript name (ID 6) [Microsoft]:
      "SimHei"
   trademark (ID 7) [Microsoft]:
      "Trademark of Beijing ZhongYi Electronics Co., China"
   license (ID 13) [Microsoft]:
      "Microsoft supplied font. You may use this font to create, display, and 
print content as permitted by the license terms or terms of use, of the 
Microsoft product, service, or content in which this font was included. You may 
only (i) embed this font in content as permitted by the embedding restrictions 
included in this font; and (ii) temporarily download this font to a printer or 
other output device to help print content. Any other use is prohibited."
   font subfamily (ID 2) [Microsoft] (language=0x040a):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x040b):
      "Normaali"
   font subfamily (ID 2) [Microsoft] (language=0x040c):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x040e):
      "Normál"
   font subfamily (ID 2) [Microsoft] (language=0x0410):
      "Normale"
   font subfamily (ID 2) [Microsoft] (language=0x0413):
      "Standaard"
   font subfamily (ID 2) [Microsoft] (language=0x0414):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0415):
      "Normalny"
   font subfamily (ID 2) [Microsoft] (language=0x0416):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0419):
      "Обычный"
   font subfamily (ID 2) [Microsoft] (language=0x041b):
      "Normálne"
   font subfamily (ID 2) [Microsoft] (language=0x041d):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x041f):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0424):
      "Navadno"
   font subfamily (ID 2) [Microsoft] (language=0x042d):
      "Arrunta"
   copyright (ID 0) [Microsoft] (language=0x0804):
      "字体数据由北京中易中标电子信息技术有限公司提供。"
   font family (ID 1) [Microsoft] (language=0x0804):
      "黑体"
   font subfamily (ID 2) [Microsoft] (language=0x0804):
      "Regular"
   unique font identifier (ID 3) [Microsoft] (language=0x0804):
      "黑体"
   full name (ID 4) [Microsoft] (language=0x0804):
      "黑体"
   version string (ID 5) [Microsoft] (language=0x0804):
      "Version 5.03"
   PostScript name (ID 6) [Microsoft] (language=0x0804):
      "黑体"
   trademark (ID 7) [Microsoft] (language=0x0804):
      "Trademark of ZHONGYI Electronic Co., Beijing"
   font subfamily (ID 2) [Microsoft] (language=0x080a):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0816):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0c0a):
      "Normal"
   font subfamily (ID 2) [Microsoft] (language=0x0c0c):
      "Normal"

charmaps (1)
   0: format  4, platform 3, encoding  1   language 0 (active)


reply via email to

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