FS#4634 - bad rendering of accented characters
|
Details
I found out a very strange issue. On some webpages I noticed
that some accents are displayed above another character than
they should be. I am able to reproduce it in all browsers.
Now I managed to narrow the problem to font Trebuchet MS,
size 15 even in OpenOffice so it must be some font rendering
problem. It may occur, however, with other fonts and
fontsizes too. Can it be some fontconfig package problem or
what?
Example screenshot and testing document in odt format: http://img363.imageshack.us/img363/2015/badaccent39qx.png http://www.pholie.com/a/klopu.odt |
This task depends upon
Closed by Jan de Groot (JGC)
Friday, 19 May 2006, 20:20 GMT
Reason for closing: Fixed
Additional comments about closing: Freetype2 had an update because of some overflows. I'm running 2.2.1 for a few days now, so it works ok. 2.2.x is binary compatible with 2.1.x, so this shouldn't cause regressions.
Friday, 19 May 2006, 20:20 GMT
Reason for closing: Fixed
Additional comments about closing: Freetype2 had an update because of some overflows. I'm running 2.2.1 for a few days now, so it works ok. 2.2.x is binary compatible with 2.1.x, so this shouldn't cause regressions.
Comment by Not Important (pholie) -
Monday, 15 May 2006, 20:09 GMT
I found another case while surfing web. It happens again with font
Trebuchet MS, now font size 13 cursive. You can check it on this
document:
http://www.pholie.com/a/podla.odt
The accent (or what it is) should be above "l" but it is above the
empty space after "a". Really odd. I was able to reproduce it with
this document in Ubuntu too, after I installed the font. I know it
is made by Microsoft :) but I can't believe it is possible to made
a font which displays different characters when you use different
font size. I am persuaded it is caused by some font rendering
library. Where to report it now, when I know it is not arch
specific problem?
Comment by Jan de Groot (JGC) -
Tuesday, 16 May 2006, 21:28 GMT
This is caused by the bytecode hinter in Freetype2. I couldn't
reproduce the bad accents on the webpages until I enabled the
bytecode interpreter (I turned it off via /etc/fonts/conf.d/). I
was able to reproduce with OpenOffice, since that package has its
own static compiled version of freetype2 and fontconfig, which
doesn't listen to things in /etc/fonts/conf.d at all and has
bytecode hinting enabled by default.
Comment by Jan de Groot (JGC) -
Wednesday, 17 May 2006, 22:26 GMT
I just upgraded my system to Freetype 2.2.1, which contains fixes
to the bytecode interpreter. We won't release 0.7.2 with freetype
2.2.x, since it breaks many things, so this is for after the 0.7.2
release.
Comment by Not Important (pholie) -
Thursday, 18 May 2006, 11:00 GMT
Great news :)