On 12 March 2012 17:02, Henry Vermaak wrote:
>
> Why is FT_GlyphSlot a packed record in the aggpas sources? It's not a
> packed record in the c header (at least on my system), so they should use
> {$packrecords c) and a normal record.
Funny you mention that. 5 minutes before I had to leave work, I
noticed the same thing. I modified the AggPas freetype interface unit
using {$packrecords c} instead, and it did then load the Glyph
information correctly (which was rubbish before). I didn't have enough
time to test the Text painting, but at least the data structure
contained valid information - so it is progress and heading in the
right direction. :-) I'll test further tomorrow at work where I have a
64-bit system.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus