[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/ftfont FTF_Api.h FTF_Settings.h blender/source/blender/ftfont/intern FTF_Api.cpp FTF_TTFont.cpp FTF_TTFont.h blender/source/blender/include BIF_language.h blendef.h blender/source/blender/makesdna DNA_userdef_types.h ...

Ton Roosendaal ton at blender.org
Wed Jan 19 15:58:06 CET 2005


Hi,

I've already added a while ago - disabled - code in src/resources.c for  
drawing texture based icons. Trying same for AA fonts was planned. The  
advantage of using textures is;

- it scales better, especially with mipmaps (glDrawPixels and  
glPixelZoom isn't working well)
- it doesn't clip away when the 'rasterpos' is outside of the viewport
- it draws much faster (only slower for full software opengl, but for  
these users the old glBitmap fonts will still work much better)

For the texture based fonts to work in same quality as pixmap based  
fonts now, the ftgl library again needs patching (currently it filters  
the fonts, making them too unsharp). Most likely, for the most crispy  
display, the scaling will be entirely skipped, using predefined sizes  
as done now for pixmaps.

Rob has done the first work, and this now is on my list too to further  
work on. Just WIP, but might take a while...

What I can use help for is:

-> someone to put the ftgl lib in CVS, extern dir, with proper  
makefiles and Scons
    http://www.blender.org/bf/bFTGL.zip

Anyone? :)

-Ton-


On 19 Jan, 2005, at 15:21, Alexander Ewering wrote:

>
> On Wed, 19 Jan 2005, Rob Haarsma wrote:
>
>>  Added experimental option to use GL textured interface fonts.
>
> Textured fonts? Can you make pink dots on them now?
>
> | alexander ewering              instinctive mediaworks
> | ae[@]instinctive[.]de   http://www[.]instinctive[.]de
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list