comparison DOCS/xml/en/skin.xml @ 32734:cc58a1e919d9

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.)
author ib
date Thu, 27 Jan 2011 18:04:19 +0000
parents 0ad2da052b2e
children 01e248c1b369
comparison
equal deleted inserted replaced
32733:e922613845cc 32734:cc58a1e919d9
740 <anchor id="skin-font-char"/> 740 <anchor id="skin-font-char"/>
741 <programlisting>"char" = X, Y, width, height</programlisting> 741 <programlisting>"char" = X, Y, width, height</programlisting>
742 Here <literal>X</literal> and <literal>Y</literal> specify the position of the 742 Here <literal>X</literal> and <literal>Y</literal> specify the position of the
743 <literal>char</literal> character in the image (<literal>0,0</literal> is the 743 <literal>char</literal> character in the image (<literal>0,0</literal> is the
744 upper left corner). <literal>width</literal> and <literal>height</literal> are 744 upper left corner). <literal>width</literal> and <literal>height</literal> are
745 the dimensions of the character in pixels. 745 the dimensions of the character in pixels. The character may be in UTF-8
746 encoding.
746 </para> 747 </para>
747 748
748 <para> 749 <para>
749 This example defines the A, B, C characters using <filename>font.png</filename>. 750 This example defines the A, B, C characters using <filename>font.png</filename>.
750 <programlisting> 751 <programlisting>