tony2001/libharu — pull request #10 by orouge (2012-05-26 19:26:23+00:00)
Title: TrueType fonts: Fixes on OS/2 table.

Bug report
- Offset error on fields panose and ulCodePageRange1.
- The field panose includes the field sFamilyClass.

Bug Fixes
Ref : TrueType spécifications at http://www.microsoft.com/typography/otspec/os2.htm

hpdf_fontdef.h file - HPDF_TTFontDefAttr_Rec structure:
- Field sfamilyclass to add.
- Reduce the panose field from 12 to 10 bytes.

hpdf_fontdef_tt.c file - ParseOS2() function:
- Fixed offsets for fields panose and ulCodePageRange1.
- Management of the family class by sfamilyclass field.
- Check version for ulCodePageRange1 field (not available for version 0).

I can not retrieve the hpdf_config.h file, is it normal?

Best regards