ugly font rendering

Bug #1304800 reported by shackra
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
New
Undecided
Unassigned

Bug Description

I'm experiencing a ugly font rendering with Midori, however, I'm not quite sure if the issue comes from Midori itself or from other component that Midori use. I'm using fonts for Midori like Open Sans and SourceCode Pro, etc.

Revision history for this message
shackra (elcorreo) wrote :
Revision history for this message
gue5t gue5t (gue5t) wrote :

This looks like Midori using X11's built-in "Helvetica" font, which is what Fontconfig finds based on the web page's CSS.

Can you try merging the following into your fontconfig configuration (likely in ~/.config/fontconfig/fonts.conf):

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Reject bitmap fonts -->
 <selectfont>
  <rejectfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </rejectfont>
 </selectfont>
</fontconfig>

Revision history for this message
shackra (elcorreo) wrote :

Yup, was that. I have a more beautiful font rendering now! Thanks!

Revision history for this message
Edd Barrett (vext01) wrote :

Same here on Midori-0.5.11 on OpenBSD.

Github alway looks bad, see screenshot.

The style info for the offending text is:
```
font: 13px / 1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
```

So I guess I am also using the bitmap fonts.

It would be nice if this could work out the box without hacking config files. Is it possible for midori to have a setting to block bitmap fonts (on by default)?

Revision history for this message
Edd Barrett (vext01) wrote :

FWIW: checking "always use my font choices" in settings is a workaround.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.