Board index » kylix » Re: X-less Bitmap - cross-platform, cross-language ?

Re: X-less Bitmap - cross-platform, cross-language ?


2005-08-25 09:35:55 AM
kylix0
g'day theo,
i'm wading through your code at the moment, trying to understand it better.
one thing that i'm wondering: any idea how difficult it would be to make it work
under:
1. Windows
2. Lazarus / Free Pascal ?
cheers,
Mat
 
 

Re:Re: X-less Bitmap - cross-platform, cross-language ?

Quote

one thing that i'm wondering: any idea how difficult it would be to make
it work under:

1. Windows
2. Lazarus / Free Pascal ?
The decoding part (uXLBitmap, uXlessFont) should work with little or no
modifications under any of these if you have the font-files because
there are no VCL/CLX dependencies.
The encoding part is very Kylix/Linux specific. It uses libXft and Qt.
But it is only about painting the Glyphs and getting the Font-Metrics.
So this could be changed to fit the desired environment. Note that the
dependency on uAntiAliasControl (libXft) is an extra step for getting
anti-aliased fonts under Kylix which is not necessary under Delphi/Win.
Theo