Move texture draw to blf_util.c, now both font used it.
authorDiego Borghetti <bdiego@gmail.com>
Thu, 23 Apr 2009 21:57:41 +0000 (21:57 +0000)
committerDiego Borghetti <bdiego@gmail.com>
Thu, 23 Apr 2009 21:57:41 +0000 (21:57 +0000)
commitefd1a69d6c12d97594c93857365547a56e6792e9
treebf509b370b103c2b6db14a318f79dcf361030da5
parent1b95d684afd7153a16ebb6d9af16b60b56fc1159
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).
source/blender/blenfont/BLF_api.h
source/blender/blenfont/intern/blf.c
source/blender/blenfont/intern/blf_glyph.c
source/blender/blenfont/intern/blf_internal.c
source/blender/blenfont/intern/blf_internal.h
source/blender/blenfont/intern/blf_internal_types.h
source/blender/blenfont/intern/blf_lang.c
source/blender/blenfont/intern/blf_util.c
source/blender/editors/interface/interface_style.c