New issue 105685 by net...@gmail.com: Arabic text align incorrect
http://code.google.com/p/chromium/issues/detail?id=105685
Chrome Version : 15.0.874.121
OS Version: Ubuntu 11.10
URLs (if applicable) : http://www.bbc.co.uk/arabic/
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Firefox: OK
Opera: OK
UserAgentString: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.2 (KHTML,
like Gecko) Chrome/15.0.874.121 Safari/535.2
See screenshot (Chrome, Firefox then Opera), this happen on every Arabic
web site.
Attachments:
Screenshot at 2011-11-29 06:07:36.png 416 KB
Screenshot at 2011-11-29 06:08:12.png 417 KB
Screenshot at 2011-11-29 06:09:48.png 321 KB
Comment #1 on issue 105685 by asvi...@chromium.org: Arabic text align
incorrect
http://code.google.com/p/chromium/issues/detail?id=105685
(No comment was entered for this change.)
Comment #11 on issue 105685 by ba...@chromium.org: Arabic text align
incorrect
http://code.google.com/p/chromium/issues/detail?id=105685
This might be a duplicate of
http://code.google.com/p/chromium-os/issues/detail?id=13717.
Comment #16 on issue 105685 by ba...@chromium.org: Arabic text align
incorrect
http://code.google.com/p/chromium/issues/detail?id=105685
Just for testing, I installed BBCNassim and IranianSans(the font used in
http://farsitel.com/fa/faq.html) and checked the rendering result for the
following html:
<style>
@font-face {
font-family: 'bbc';
src: local('BBCNassim');
}
@font-face {
font-family: 'irsans';
src: local('Iranian Sans');
}
div {
font-size: 36pt;
border: 1px solid;
width: 100px;
direction: rtl;
}
</style>
BBCNassim:
<div style="font-family: bbc">
حرك
</div>
Iranian Sans:
<div style="font-family: irsans">
حرك
</div>
Not specified:
<div>
حرك
</div>
The result of Chromium ToT and Firefox are attached. It looks like Chromium
can't handle kerning with some specific fonts (e.g. BBC Nassim and Iranian
Sans).
@behdad, do you have any ideas?
Attachments:
Screenshot-Chromium.png 20.1 KB
Screenshot-Firefox.png 30.9 KB
As far as I checked, complex text path is used for above testcase so there
might be a bug in (old) Harfbuzz with some fonts.