Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Arabic characters appear as empty squares when using certain HTML tags or font styles

  • 2 replies
  • 31 have this problem
  • 4 views
  • Last reply by mma173

more options

Only when HW acceleration is on. Arabic characters appear as empty squares when using "italic" or "oblique" font styles or when using <i> or <em> html tags.

Try this code to replicate the problem

<p>مشكلة ظهور المربعات الخالية بدل الحروف</p>
<p style="font-style: italic;">Italic مشكلة ظهور المربعات الخالية بدل الحروف</p>
<p style="font-style: oblique;">Oblique مشكلة ظهور المربعات الخالية بدل الحروف</p>
<i>i tag مشكلة ظهور المربعات الخالية بدل الحروف <br> <br>
<em>em tag مشكلة ظهور المربعات الخالية بدل الحروف </em>
Only when HW acceleration is on. Arabic characters appear as empty squares when using "italic" or "oblique" font styles or when using &lt;i&gt; or &lt;em&gt; html tags. Try this code to replicate the problem <pre> &lt;p&gt;مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt; &lt;p style="font-style: italic;">Italic مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt; &lt;p style="font-style: oblique;">Oblique مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt; &lt;i&gt;i tag مشكلة ظهور المربعات الخالية بدل الحروف</i> &lt;br&gt; &lt;br&gt; &lt;em&gt;em tag مشكلة ظهور المربعات الخالية بدل الحروف &lt;/em&gt; </pre>

Modified by mma173

All Replies (2)

more options

H/W Acceleration is one of the biggest features FF4 is providing and having to disable it is a big problem. Attached is a picture showing the problem into play.

Thanks'

more options

After lots of research, I found the problem. The boxes (squares) show up whenever there is a font in the webpage that does not have Arabic within its Unicode range such as Times New Roman Italic or Oblique. Normally, Firefox will pick another font to display the characters but now, a newly introduced feature is interfering.

To fix the problem without turning off hardware acceleration. Go to about:config locate: gfx.font_rendering.directwrite.use_gdi_table_loading which is True by default in FF4.0 Beta 10, and change it to False.

This is a bug that has to be fixed.

Modified by mma173