This function works with BDF and PCF fonts. It returns an error otherwise. It also returns an error if the property is not in the font.
A ‘property’ is a either key-value pair within the STARTPROPERTIES ... ENDPROPERTIES block of a BDF font or a key-value pair from the ‘info->props’ array within a ‘FontRec’ structure of a PCF font.
Integer properties are always stored as ‘signed’ within PCF fonts; consequently, BDF_PROPERTY_TYPE_CARDINAL is a possible return value for BDF fonts only.
In case of error, ‘aproperty->type’ is always set to BDF_PROPERTY_TYPE_NONE.
|