[Pharo-project] Rendering fonts on OpenGL

Stéphane Ducasse stephane.ducasse at inria.fr
Mon May 24 06:36:56 EDT 2010


On May 23, 2010, at 11:04 PM, Igor Stasenko wrote:

> 2010/5/23 Javier Pimás <elpochodelagente at gmail.com>:
>> Hi, may I ask how you are rendering these fonts? You parse the glyphs and
>> then render lines with opengl or use freetype to render to a texture without
>> antialiasing or both?
> 
> Squeak has already a TT font reader, so i just taking the data from there
> and piping to GPU.
> What you see here is freely scalable vector/curve rendering done
> completely on GPU.
> 
>> If you asked me, I'd say I like the method but for
>> fonts they look a bit blury, I'd say too much for the smaller ones.
> 
> I think this is best what you can achieve without hinting / subpixel AA.
> 
>> Also, what are you working on?
>> 
> I once did a GLCanvas,
> and now i want to reiterate and improve it using new callout mechanism
> (NativeBoost),
> and full coverage of OpenGL API, with all extensions available at your disposal.

Igor it would be good it we could have 

NativeBoostRomeCanvas 

if you see what I mean :)

> 
>> Regards,
>>             Javier.
>> 
>> 2010/5/23 Igor Stasenko <siguctua at gmail.com>
> 
> 
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list