[MPlayer-DOCS] r32821 - in trunk: DOCS/xml/de/skin.xml DOCS/xml/en/skin.xml gui/skin/font.c gui/skin/font.h

ib subversion at mplayerhq.hu
Thu Jan 27 19:04:19 CET 2011

Author: ib
Date: Thu Jan 27 19:04:19 2011
New Revision: 32821

Allow character in the font description file to be in UTF-8.

A character defined in the font description file can be either
an ASCII character, any character in the range of 0x80 to 0xFF
or - to avoid character set problems, and that is recommended -
a character in UTF-8 encoding now.

Non-ASCII characters will be stored in the nonASCIIidx array.
The indices 0..127 of this array correspond to the indices
128..255 of the Fnt array.

(This also settles the "Translate messages shown in the GUI window(s)
from UTF-8" issue.)


Changes in other areas also in this revision:

Modified: trunk/DOCS/xml/en/skin.xml
--- trunk/DOCS/xml/en/skin.xml	Thu Jan 27 18:58:58 2011	(r32820)
+++ trunk/DOCS/xml/en/skin.xml	Thu Jan 27 19:04:19 2011	(r32821)
@@ -742,7 +742,8 @@ image file to be used for the font (you 
 Here <literal>X</literal> and <literal>Y</literal> specify the position of the
 <literal>char</literal> character in the image (<literal>0,0</literal> is the
 upper left corner). <literal>width</literal> and <literal>height</literal> are
-the dimensions of the character in pixels.
+the dimensions of the character in pixels. The character may be in UTF-8

More information about the MPlayer-DOCS mailing list