[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] question on FT number formats
From: |
Johannes Walther |
Subject: |
Re: [ft] question on FT number formats |
Date: |
Mon, 5 Mar 2007 18:07:50 +0100 (CET) |
George Williams <address@hidden> wrote:
> These are actually truetype formats.
> They are fixed point numbers
> 16.16 means that the binary point should be
> shifted by 16 bits right
> (so to get a double you would do: <number>/65536.0)
> 26.6 means the binary point should be shifted 6
> bits right (so to get
> a double <number>/64.0)
Ok, I see--thanks. But if there's nothing else, I
guess my problem is another one.
For Type1 with pfm I get absolutely strange values.
For a URW Gothic L Book with pfm and
FT_KERNING_UNSCALED I get 65464 instead of -72 or
65488 instead of -48 but the positive values are ok.
With FT_KERNING_DEFAULT I get 372416 instead of -384.
For correct values I'd have to subtract the high
values from 65536 resp. 372800 - but since they are ok
if afm are attached I can't rely on that workaround.
What can be wrong here?
Johannes
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de