Hi, There is another reason to use system-wide fonts. We perhaps cannot prepare "monospace" fonts without license issue for all languages Blender supports. If we cannot, Blender has to use system-wide fonts (or drop supports for such languages). In such case, performing font substitutions may be needed if the system-wide font doesn't include ascii characters.
IRIE Shinsuke 13/03/01, Campbell Barton wrote: > On Sat, Mar 2, 2013 at 12:50 AM, IRIE Shinsuke <[email protected]> > wrote: >> Hi devs, >> >> Recently I submitted a patch and a bug related to the >> internationalization: >> >> [#34373] Use i18n monospace font in Text editor and Python console >> http://projects.blender.org/tracker/index.php?func=detail&aid=34373&group_id=9&atid=127 >> >> [#34396] Some kanji characters in i18n font are unreadable for Japanese users >> http://projects.blender.org/tracker/index.php?func=detail&aid=34396&group_id=9&atid=498 >> >> The patch [#34373] obviously needs additional international font for >> displaying CJK characters properly. Also, Japanese font is needed to >> solve the bug [#34396]. So, Blender have to use the following fonts >> at least: >> >> (1) proportional font (default) = bfont.ttf >> (2) monospace font (default) = bmonofont.ttf >> (3) proportional font (international) = droidsans.ttf >> (4) monospace font (international) >> (5) proportional font (Japanese) >> (6) monospace font (Japanese) >> >> I'm not sure if the other languages need additional fonts. >> >> If we solve these issues by adding the fonts (4)-(6) above, file >> sizes of the release archives increase by 5-10MB. Maybe Linux distro >> maintainers hate such bundled fonts because they must remove the >> fonts and apply some patches to build distro packages. >> >> I think the the international font should be removed and system-wide >> fonts should be used instead. >> >> Thanks, >> >> -- >> IRIE Shinsuke > > As long as they are not loaded into memory when unused, I don't think > its such a problem to distribute them with Blender. > > If Linux distros want to remove them from the packages we can make > sure its possible to fonts on the system as a build option or just > link the font to where blender expects it. > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
