diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-08 18:46:57 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-08 18:46:57 +0300 |
commit | 061cde65a63bc8bb74ba1d003e7c75ea556eba55 (patch) | |
tree | e9700377b9c3e1d03f02f8eb6d2e9f33f83599be /source/blender/include/datatoc.h | |
parent | 5bba5035b0eefdf777574b8c7af323d8d6ff7a2e (diff) |
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.
Diffstat (limited to 'source/blender/include/datatoc.h')
-rw-r--r-- | source/blender/include/datatoc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/datatoc.h b/source/blender/include/datatoc.h index 51a1cf6204a..d7a1aa5c78c 100644 --- a/source/blender/include/datatoc.h +++ b/source/blender/include/datatoc.h @@ -47,6 +47,9 @@ extern char datatoc_blenderbuttons[]; extern int datatoc_Bfont_size; extern char datatoc_Bfont[]; +extern int datatoc_bfont_ttf_size; +extern char datatoc_bfont_ttf[]; + extern int datatoc_cmap_tga_size; extern char datatoc_cmap_tga[]; |