Show .ttf/.ttc file
-
TTFViewer is based on The OpenType Font File, and I changed what I could not understand.
TAG ttcTag --> Tag ttcTag (typo ??)
TAG ttcTag --> Tag ttcTag (typo ??)
majorVersion = 2 --> = 1 or 2 (some ttf file of version1 have dsig)
uint32 dsigTag --> Tag dsigTag (dsigTag may be zero, so uint32 is correct, but Tag is easier to handle)
uint32 dsigOffset --> Offset32 dsigTag (dsigOffset may be zero, so uint32 is correct, but Offset32 is easier to handle)
I could not find the size of array SubHeader subHeaders[], so I set size=0.
I could not find the size of array nuint16 glyphIndexArray[], so I set size=0.
I could not find the size of array uint16 glyphIdArray[], so I set size=0.
I could not find the size of array uint16 glyphs[], so I set size=0.
FWord underlinePosition --> FWORD underlinePosition (typo ??)
FWord underlineThickness --> FWORD underlineThickness (typo ??)
int8 names[numberNewGlyphs] --> PascalString names[numberNewGlyphs]