Created attachment 8500045 [details] firefoxVSchrome.png I don't know when it happened exactly (I think after a system update), but some time ago I noticed a poor rendering with Latin Modern fonts on Linux, even in version 31 that used to work properly. I get the same problem on Firefox for Windows, but can't remember whether I saw that before. As a comparison, this poor rendering does not happen with Chromium, but I believe has always been the case with WebKitGTK+. I'm not sure I can explain that properly in English so I'm just attaching a screenshot comparing the rendering in Firefox (left) and Chrome (right). As you see, the text in Gecko seems lighter & thiner and some parts seems cleared.
Created attachment 8500046 [details] firefoxVSXeTeX.png Comparison Firefox (left) VS XeLaTeX's pdf output (right)
Could you paste "Graphics" section of about:support ?
Graphics -------- Adapter Description: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ivybridge Mobile Device ID: Mesa DRI Intel(R) Ivybridge Mobile Driver Version: 3.0 Mesa 10.2.6 GPU Accelerated Windows: 0/1 Basic Vendor ID: Intel Open Source Technology Center WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ivybridge Mobile windowLayerManagerRemote: false AzureCanvasBackend: cairo AzureContentBackend: cairo AzureFallbackCanvasBackend: none AzureSkiaAccelerated: 0
The Firefox screenshots look similar to a bug that once existed in FreeType's autohinter. I'm not reproducing on Linux here, with or without autohint set.
Additional bote: I tried to modify update the gfx.* config option by comparing with another Linux distrib that is not affected, but that didn't help.
Clould you try to set gfx.font_rendering.directwrite.enabled = true in about:config? (After you change the value, it is necessary to restart the brower)
No, that does not help...
Created attachment 8607190 [details] lmmodern-gecko.png The page uses a 12pt web font version of Latin Modern. If I force the use of local "Latin Mondern Roman" font, it seems that the rendering is better (there are various fonts for latin modern for sizes ... 9pt, 10pt 12pt, 17pt) BTW, I also get this poor rendering on Chrome now and can similarly get better rendering by forcing "Latin Mondern Roman", so I guess it's not specific to Gecko. I wonder if there is a way to use @font-face to propose various sizes for a same font, but @font-face does not seem to have a font-size property...
Marking as fixed since this now works for me after I switched from Gnome to Cinnamon. I'm not sure what the problem was but that does not seem a bug in Gecko.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
(In reply to Frédéric Wang (:fredw) from comment #9) > Marking as fixed since this now works for me after I switched from Gnome to > Cinnamon. I'm not sure what the problem was but that does not seem a bug in > Gecko. Could you please file a related bug with the GNOME project? https://bugzilla.gnome.org/
You need to log in before you can comment on or make changes to this bug.