Home > Archive > Kylix > August 2005 > Re: X-less Bitmap - cross-platform, cross-language ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: X-less Bitmap - cross-platform, cross-language ?
|
|
| Mat Ballard 2005-08-24, 9:58 pm |
| 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
| |
|
|
>
> 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
|
|
|
|
|