Yesterday night and today (and with a bit of help
) I've created a wrapper library for pango. Pango is the font rendering system for one of the two main linux desktop systems.
It's very useful, as it supports HTML-like markup in texts, so something like this is perfectly valid:
[code language="html4strict"]<span font_family="Arial" size="xx-large" color="#0000ff"><u>Hello</u>, World!</span>[/code]
The full list of supported markup is here
In the spanish post
I've attached the code for a very first version of the library, and the library compiled for a 32 bit linux system. It should work just fine in both 32 and 16 color bit modes
, but will certainly not work in 16 bits (help appreciated, I believe the problem might be with the 16 bit mask values). As soon as I fix the problem get some free time, I'll try to compile it for windows.
I've uploaded the windows version, refer to the spanish post for details.
Hope you find it useful.
As usual, screenshots:
Subscript and superscript example:
Rendering non-latin alphabets:
[UPDATE] The 16 bits problem is fixed with some help from SplinterGU and should now work just fine. I've updated the link in the spanish forum with the new version.