Ask Your Question
1

Calibri font not rendering correctly

asked 2012-10-25 01:23:54 +0200

Wolter gravatar image Wolter
13 1 1 3

I am experiencing a bad rendering of the Calibri font in some scales while using LibreOffice Writer 3.6.2.2 in Ubuntu 12.10 amd64. At first I thought that the problem was in the system font rendering, but then I saw that in Evince the font was rendered correctly at all scales. Please refer to the image comparison below.

writer evince

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
1

answered 2012-11-21 13:10:14 +0200

Fitoschido gravatar image Fitoschido flag of Mexico
71 2 4
http://fitoschido.wordpre...

updated 2013-02-13 23:51:42 +0200

It is actually a system thing. The Calibri family and other Microsoft fonts look jagged because Freetype, the font rendering engine used by Ubuntu, takes into account by default the embedded bitmaps these fonts have inside. These bitmaps are created so the fonts can look decent with the horrid Windows’ font rendering. Here’s the fix (source):

To disable this and get correct smoothing at all sizes do this: Create a file called .fonts.conf in the ~/.config/fontconfig directory, paste this code in it:

<match target="font" >
    <edit name="embeddedbitmap" mode="assign">
        <bool>false</bool>
    </edit>
</match>

Save the file, and log out and back in.

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-10-25 01:23:54 +0200

Seen: 761 times

Last updated: Feb 13