Arabic characters appear as empty squares when using certain HTML tags or font styles
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>
Modified
All Replies (2)
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'
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