Hi Ben,

Good sleuthing work :)

>*** Tools Support
>
>The nFNT resource type

I assume you mean the 'NFNT' resource type.

>is still the same.  If you use CodeWarrior with the
>Palm OS 5 SDK, you can define a font family that will cause the PalmRez
>post-linker to bundle multiple fonts of different densities together.
>
>*** Internal Layout
>
>If you look in the Palm OS 5 SDK headers, specifically Font.h, you'll see a
>new type, FontTypeV2, which has the same layout as the original FontType,
>but additional fields at the end to specify multiple densities in one
>font.  There is only one set of metrics for a font, since there is only a
>single offset/width table, and it applies only to single density fonts.

The width and glyph bitmap offset tables are used for both 1x and 2x 
fonts - the values are doubled for the 2x data.

Note that you also need to set bit 0x0200 in the .fontType field.

-- Ken
-- 
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to