[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] FreeType newbie
From: |
Marco Mussini |
Subject: |
Re: [Freetype] FreeType newbie |
Date: |
Sun, 20 Jun 2004 13:05:12 +0200 |
User-agent: |
KMail/1.6.1 |
Thank you very much for help to all!
I understand that two approach can be used to fix my problem: simplest is to
combine each text pixel with background pixel using a blend function.
I'm doing to understand how to retrieve a pixel value for a QT widget giving
x,y coordinates... I don't believe that is so simple as Windows (I use
linux).
Also, I will do some performance test because in my application I frequently
need to move interactively several string of text. This means to calculate
every time all pixel colors for each string (retrieving all background
pixels, combining with foreground and finally redraw into a widget...).
I think this could be too slow for me.
Perhaps, a more performant solution could be (as Alex has said) to use the
interpolation to generate a custom palette, and then just attach the palette
to the glyph bitmap. I will try.
Marco