Blender Git Commit Log
Git Commits -> Revision 5919077
Revision 5919077 by Diego Borghetti (master) April 7, 2009, 08:42 (GMT) |
New Bitmap draw mode for Freetype2 fonts. The library can load any font supported by the Freetype2 library or used the internal bitmap font. With both types it's possible draw the text as texture or bitmap, and using texture it's possible rotate, scale and clipping text. Still have things to fix/add, but I think it's ready to move-on and start droping the old api, most of (if it's not all) the editors/interface/text.c will be remove, but some things still has to be define, like: * Where is store the fonts ? (default font, panel font, filesel font, etc) I mean, every space have own fonts ? or we keep it on the context ? It's not a really problem from the blenfont side, because every font have reference number, so it's load only the first time. * What we do about gettext ? Keep the old system that call gettext inside the blenfont or replace it for _() in the Blender source ? Also things like pupmen has to be take care, if we want translate the menu. Ok, time to sleep, back tomorrow to start moving the things :) |
Commit Details:
Full Hash: 59190778a8606079644b91992a3c90b7723e0adf
SVN Revision: 19577
Parent Commit: 44877d0
Lines Changed: +292, -53
6 Modified Paths:
/source/blender/blenfont/BLF_api.h (+20, -3) (Diff)
/source/blender/blenfont/intern/blf.c (+14, -3) (Diff)
/source/blender/blenfont/intern/blf_font.c (+22, -0) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+195, -34) (Diff)
/source/blender/blenfont/intern/blf_internal.c (+8, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+33, -13) (Diff)
/source/blender/blenfont/intern/blf.c (+14, -3) (Diff)
/source/blender/blenfont/intern/blf_font.c (+22, -0) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+195, -34) (Diff)
/source/blender/blenfont/intern/blf_internal.c (+8, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+33, -13) (Diff)