freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of FT_Long (= unsigned long) in psaux module


From: Tom Kacvinsky
Subject: Re: Use of FT_Long (= unsigned long) in psaux module
Date: Wed, 11 Oct 2000 17:14:37 -0400 (EDT)

Hi David,

> 
> > 
> > This has to to with Type 1 charstring numbers encoded as FF X X X X.
> > 
> 
> I just commited a fix to "psaux", the decoding now looks like
> 
>   value = (FT_Int32)( ((FT_Long)a << 24) |
>                       ((FT_Long)b << 16) |
>                       ((FT_Long)c <<  8) | d );
> 
> which should work even with the Compaq compiler. Let me know if this
> is incorrect.
> 

This works for both gcc and Compaq's C compiler.  Thanks!

Regards,

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]