Blender Git Loki
Git Commits -> Revision efd1a69
Revision efd1a69 by Diego Borghetti (master) April 23, 2009, 21:57 (GMT) |
Move texture draw to blf_util.c, now both font used it. A little cleanup on the internal font, it's possible load the old bmfont with: BLF_load_mem(name, NULL, 0) where name can be: helv, helvb or scr. Note that the internal font also support both draw, texture and bitmap, by default always used texture. Remove some old lang function that I left there and don't exist any more because the locale are now in the RNA. Small changes to Style's, so if we build without freetype2 by default go back to the internal font, this is a little ugly (and have the old problem of scale) but now blender always show text (need work a little more there). |
Commit Details:
Full Hash: efd1a69d6c12d97594c93857365547a56e6792e9
SVN Revision: 19912
Parent Commit: 1b95d68
Lines Changed: +187, -141
9 Modified Paths:
/source/blender/blenfont/BLF_api.h (+19, -17) (Diff)
/source/blender/blenfont/intern/blf.c (+12, -2) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+3, -66) (Diff)
/source/blender/blenfont/intern/blf_internal.c (+67, -41) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+4, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+0, -8) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+3, -4) (Diff)
/source/blender/blenfont/intern/blf_util.c (+63, -0) (Diff)
/source/blender/editors/interface/interface_style.c (+16, -3) (Diff)
/source/blender/blenfont/intern/blf.c (+12, -2) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+3, -66) (Diff)
/source/blender/blenfont/intern/blf_internal.c (+67, -41) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+4, -0) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+0, -8) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+3, -4) (Diff)
/source/blender/blenfont/intern/blf_util.c (+63, -0) (Diff)
/source/blender/editors/interface/interface_style.c (+16, -3) (Diff)