freetype-devel
[Top][All Lists]
Advanced

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

Sfnt wrapped sbit support (i.e. TrueType without outline)


From: Yamano-uchi, Hidetoshi
Subject: Sfnt wrapped sbit support (i.e. TrueType without outline)
Date: Wed, 12 Jul 2000 23:37:05 +0900

Hi David,

From: "Yamano-uchi, Hidetoshi" (山内 英敏) <address@hidden>
Subject: A patch to fix sbit's bugs (FreeType2).
Date: Wed, 17 May 2000 23:27:19 +0900
Message-ID: <address@hidden>

> * ftview with some sfntCID bitmap (without outline) files fails.
>   Because there are invalied with TrueType specification.
>   (head, hhea, hdmx, etc. are missing)
>   It is convinient to support these font files with FreeType2.

Spec.:  CID-Keyed sfnt Font File Format for the Macintosh, version 2.0
      (http://partners.adobe.com/asn/developer/PDFS/TN/5180.sfnt.pdf)

example: Fontworks matis (Japanese, sample sbit)

----
  ALMX  -  000000ec  -  00000ce4
  HFMX  -  00000dd0  -  00000010
  PNAM  -  00000de0  -  00000024
  VFMX  -  00000e04  -  0000001e
  bdat  -  00000e24  -  00163ed6
  bhed  -  00164cfc  -  00000036
  bloc  -  00164d34  -  00003014
  cmap  -  00167d48  -  00005e24
  fdsc  -  0016db6c  -  00000020
  feat  -  0016db8c  -  000000a0
  maxp  -  0016dc2c  -  00000020
  mort  -  0016dc4c  -  00002e20
  name  -  00170a6c  -  0000079d
  post  -  0017120c  -  000040dc
----

It works well when routines on loading h-e-a-d table is skipped.  But
I don't know how to fill elements in this case.

Question:
* FT_Face->ascender, decender(...) are not well defined because sfnt
wrapped sbit font files are collections of some bitmap fonts.
Theses font files have HFMX(Horizontal Face Metrics) table, but I
don't know whether it is for bitmap or for (missing) outline.

Is there good solutions?

------ Yamano-uchi, Hidetoshi


reply via email to

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