To end the issues with AA (International) Fonts; the .bfont.tff now is

compiled in (datatoc) and doesn't need installation anymore.

Also reviewed weird path conventions for searching AA fonts;

- U.fontdir is only used as standard search path for fileselecting
- U.fontname stores only full path to AA font if used one
- If a font cannot be found, it always falls back to the compiled in one
- If .B.blend is saved with default font, U.fontname is not set

Also added a button in usermenu "restore default".

When this works as expected, I'll commit changes for installation too.
This commit is contained in:
2004-11-08 15:46:57 +00:00
parent 5bba5035b0
commit 061cde65a6
12 changed files with 2160 additions and 111 deletions

View File

@@ -8,6 +8,7 @@ src_env.Append (CCFLAGS = user_options_dict['SDL_CFLAGS'])
source_files = ['B.blend.c',
'Bfont.c',
'bfont.ttf.c',
'blenderbuttons.c',
'booleanops.c',
'booleanops_mesh.c',