Michal Suchanek wrote:
On 6 June 2010 23:35, Juan Vuletich <juan@...2357...> wrote:
(snipped some parts...)
Michal Suchanek wrote:
Actually there is real a problem of converting fonts from vector outlines to some bitmap form which can be used for simple drawing operations (in this particular case for use in a bootloader which should not be concerned with rendering vector graphics).
The current method freetype uses fails miserably for conversion to b&w (not grayscale) bitmaps but maybe there is no way how that can be done reasonably. Grayscale is the next thing on the list of things to try but I have not seen the results yet.
If your software can render some CJK/Indic/whatever TrueType/OpenType/whatever font glyphs that would be another thing where good antialiasing could be useful. Rendering of Latin or such is also of use but there drawing all the bitmaps by hand is less of an issue and many bitmap fonts already exist.
Freetype does already a wonderful work there.
Not really. Last time I looked the subpixel positions weren't really configurable for screen rendering but it might be a limitation of the toolkits using freetype rather than freetype itself.
I don't know. Anyway, fixing that should be relatively easy, I guess. What I was trying to say, is that given the anti aliasing quality FreeType can do with subpixel and auto hinting, I don't expect to be able to do it any better.
For this particular case subpixel rendering is not required, though.
Thanks
Michal
Cheers, Juan Vuletich