FS#6087 - ttf-dejavu bug in Firefox (DejaVu Sans)
Attached to Project:
Arch Linux
Opened by Alberto Gonzalez (Luis) - Tuesday, 26 December 2006, 22:26 GMT
Last edited by Jan de Groot (JGC) - Sunday, 22 June 2008, 00:11 GMT
Opened by Alberto Gonzalez (Luis) - Tuesday, 26 December 2006, 22:26 GMT
Last edited by Jan de Groot (JGC) - Sunday, 22 June 2008, 00:11 GMT
|
Details
After upgrading ttf-dejavu to the latest 2.13 version I have
a strange problem with fonts in Firefox. Whenever a page has
a word containing "ffe" the second "f" and the "e" are
overlapped. This happens only if there is a
'align="justify"' tag, though. And it happens only in
Firefox (not in Konqueror or other KDE apps).
To reproduce, open the attached file in Firefox (I'm using 2.0.0.1) and in preferences>content select "dejavu sans" as the default font. Downgrading ttf-dejavu to 2.11 solves the problem for me. |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 22 June 2008, 00:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 3.0-1 which will appear tomorrow.
Sunday, 22 June 2008, 00:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 3.0-1 which will appear tomorrow.
So I guess this can be closed as a DejaVu bug.
I've made a screenshot that you can find here (http://img110.imageshack.us/my.php?image=fontsde0.png) which shows the problem, look at the box with "Welcome to Arch" and notice the words "flexible" and "official".
To reproduce, set DejaVu Sans as the default Firefox font and open the test case provided with the original report.
In CVS I've seen that the firefox-2.0-pango-ligatures patch was suppressed and an iceweasel_2.0.0.12-1_part patch added.
But this one doesn't implement a solution to the ligature problem.
So it seems that the two patches are needed.
That is, the second part beginning with :
--- iceweasel-2.0.0.12.orig/gfx/src/gtk/nsFontMetricsXft.cpp
+++ iceweasel-2.0.0.12/gfx/src/gtk/nsFontMetricsXft.cpp
@@ -2200,19 +2200,27 @@
nsAutoDrawSpecBuffer::Flush()
...
Only the first part is incompatible with the two firefox patches, and these two are indispensable to solve the ligature problem.
So IIUC the solution should be easy to implement, modifying the iceweasel_2.0.0.12-1_part.patch, to keep only the second part, and rebuilding the package like that with the firefox-1.5-pango-cursor-position.patch and the firefox-2.0-pango-ligatures.patch back in the list of patches to apply.
I hope that that solution could be tried some day soon. Thanks.
(This issue concerns also the xulrunner package)
Personally I'd prefer to keep the integrated optimized Arch binary package and not the other ones offered unofficially.
In Firefox 3 it is fixed, yes.