skodak 9c1cd39de5 Bug #5937 - Fix nonascii chars in graphs:
* text is converted to unicode - no html entities anymore
 * then all nonascii chars are converted to decimal number entites
 * default.ttf is searched in dataroot/lang and local language packs too
 * removed lang_decode() - obsoleded by proper entity converison above
 * updated documentation in lang/en_utf8/fonts/README.txt

merged from MOODLE_16_STABLE
2006-06-29 21:22:16 +00:00
..

Fonts
-----

GD font operations need unicode capable font to do the server-side
rendering of text. Default font lib/default.ttf (FreeSans Medium
revision 1.76 from http://savannah.nongnu.org/projects/freefont/)
is suitable for most languages.

Unsupported languages may add special font
lang/xx_utf8/fonts/default.ttf, it will be used for that language
only.

If you want to override the default font dirroot/lib/default.ttf,
save another one as dataroot/lang/default.ttf - it will
be used for all site languages without it's font file.

The list of suitable TrueType fonts can be found at:
* http://en.wikipedia.org/wiki/Unicode_fonts
* http://www.alanwood.net/unicode/fonts.html#general