Hi Johannes,
> 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?
>

It'a silly typo in the PFM parsing code, kerning values were
read as 16-bit *unsigned* values, intead of signed ones.

I've just commited a fix, please test

- David Turner
- The FreeType Project  (www.freetype.org)

 
> Johannes
> 
> 
> 
> 
>       
>               
> ___________________________________________________________ 
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
> http://mail.yahoo.de
> 
> 
> _______________________________________________
> Freetype mailing list
> Freetype@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/freetype


_______________________________________________
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to