- cmake/make/scons didnt define INTERNATIONAL when buidling blenfont
authorCampbell Barton <ideasman42@gmail.com>
Thu, 24 Sep 2009 07:03:18 +0000 (07:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 24 Sep 2009 07:03:18 +0000 (07:03 +0000)
commitb94ed5d7e469c6c3ea421919138da8c04a3f01e3
treef431fba46204e332d5627c65ab8c25e5cbe9ce33
parent20998fdcfa6e7dd74adc0f38af6135fdddbefdc0
- cmake/make/scons didnt define INTERNATIONAL when buidling blenfont

- BLF_lang_init used confusing IFDEF's, unlikely this was well tested. Split this into 3 functions for Apple/Win32/Unix, Unix uses BLI_gethome_folder(), cant test others, ideally they should use BLI_gethome_folder too but needs testing.
Possibly each os cant be made to use BLI_gethome_folder and the separate func's can be removed (please test).

- units, hectometers were displayed wrong.
source/blender/blenfont/CMakeLists.txt
source/blender/blenfont/Makefile
source/blender/blenfont/SConscript
source/blender/blenfont/intern/blf_lang.c
source/blender/blenkernel/intern/unit.c