i18n: replace gnu unifont with droid sans font
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 17 Sep 2011 20:50:22 +0000 (20:50 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 17 Sep 2011 20:50:22 +0000 (20:50 +0000)
commit66a679d71f15b8c6b0ba4e1c8895ef1824b93a56
tree9ca3086f7efa3560dfae8ab4c6c25f3ffbc7a415
parente07b807357a4667db5de02df1e8f6b27775ca389
i18n: replace gnu unifont with droid sans font

- Static variables can be initialized with constants only.
- Removed bunifont.ttf.c from datafiles -- it's not actually a
  data file. Unicode font loading stuff is not in blenkernel/font.c
- Allocate as much memory for unzipped data as it's needed.
  Default read chunk is 512Kb.
- Fixed regression (or just a typo) in setting utf locale.
- Default locale set to en_US:en works fine now.
- Commented put Nepali language in user preferences -- it's
  not supported by current droid font and imo it's better to
  have nice font for languages we actually have translation for
  rather than allowing to choose more languages in user preferences.
14 files changed:
release/bin/.blender/fonts/droidsans.ttf.gz [new file with mode: 0644]
release/bin/.blender/fonts/unifont.ttf.gz [deleted file]
source/blender/blenfont/intern/blf_lang.c
source/blender/blenkernel/BKE_font.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/SConscript
source/blender/blenkernel/intern/font.c
source/blender/blenlib/BLI_fileops.h
source/blender/blenlib/intern/fileops.c
source/blender/editors/datafiles/CMakeLists.txt
source/blender/editors/datafiles/bunifont.ttf.c [deleted file]
source/blender/editors/interface/interface_style.c
source/blender/makesrna/intern/rna_userdef.c
source/blender/windowmanager/intern/wm_init_exit.c