Issue of the Standard # V0024


The actual type of minimum, maximum and def fields of FT_Var_Axis structure is not described

Detailed Description

According to the FreeType2 API reference, FT_Var_Axis structure can be used both for Multiple Masters and GX Var fonts. It should be explicitly specified, however, that despite minimum, maximum and def fields are declared as FT_Fixed, they should be considered as FT_Long for Multiple Masters fonts.

This fact is not obvious from the description of FT_Var_Axis.

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.2, Chapter 12. Libraries, 12.1 Interfaces for libfreetype that refers FreeType-2.1.10 API Reference, section "Multiple Masters"

Possible consequences

The specified fields of FT_Var_Axis can be misinterpreted by the applications dealing with Multiple Masters fonts.

Assume that minimum field stores value 0x00010000. If one considers it as FT_Fixed, it is number 1.0. On the other hand, if one considers it as FT_Long, it is number 65536.


freetype-devel mailing list, #47, 2009.01