Linux: Font is displayed with different character heights

From FVue
Jump to: navigation, search

Problem

Within Firefox, the font URW Palladio L - chosen to display the CSS font Palladio - is shown with different character heights; characters next to each other have a clearly visible different size, e.g. compare the "ee" and "p" in "keep":

Screenshot detail of different character heights

Environment

  • Kubuntu 12.04
  • Firefox 17.0.1

Solution

Set the Hinting Style to "slight" via:

{ Menu | System Settings | Application Appearance | Fonts | Use anti-aliasing, Configure | Hinting style }

Or make a manual change in ~/.fonts.conf:

@@ -13,7 +13,7 @@
  </match>
  <match target="font">
   <edit mode="assign" name="hintstyle">
-   <const>hintmedium</const>
+   <const>hintslight</const>
   </edit>
  </match>
  <dir>~/.fonts</dir>

Now the font displays ok:

Screenshot detail of font displayed ok with slight hinting style

Setting the hinting style to "medium" or "full" makes me face the problem again.

Journal

20130105

Example website with wrong font
Gives a list of all fonts installed local, and font URW Palladio L show garbled here as well.

Comments

blog comments powered by Disqus