Hello Fahad,<br><br>
<div><span class="gmail_quote">On 8/5/08, <b class="gmail_sendername">OMLX</b> &lt;<a href="mailto:fahad.alsaidi@gmail.com">fahad.alsaidi@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">Now I am making Arabic theme for Tuxtype. I&#39;ve finished this files:<br><br>But when I played Tuxtype games the words not displayed , have a look to screenshot.<br><br>What is the problem??</div></blockquote>

<div>&nbsp;</div>
<div>Most likely, the problem is that the default font for Tuxtype does not have the glyphs required to display Arabic characters.&nbsp; The menu text uses SDL_Pango, which somehow automatically selects an appropriate font.&nbsp; However, the games themselves (fish cascade and comet zap) try to display the characters using the currently selected font, which by default is Andika_Des_RevG.ttf, IIRC.</div>

<div>&nbsp;</div>
<div>If you need a different font (and it sounds like you do), you need to make a settings.txt file in your theme and specify the font name like this (from the Malayalam theme), using, of course, the actual name of your font:</div>

<div>&nbsp;</div>
<div>theme_font_name=Rachana_w01.ttf</div><br>The font file itself needs to be added to data/fonts, and the Makefile.am&#39;s need to be updated accordingly.</div>
<div>&nbsp;</div>
<div>If you want your theme to be added to the project, find a font for Arabic that is in Debian.&nbsp; I can take care of the adjustments to the Makefile.am&#39;s, etc in that case.</div>
<div>&nbsp;</div>
<div>One other thing to be considered - my understanding is that Arabic is written right-to-left, which the games do not currently support, so the words will come out looking &quot;backwards&quot; to an Arabic reader.&nbsp; Maybe we can fix that at some point.</div>

<div>&nbsp;</div>
<div>David Bruce</div>