First time here? Check out the FAQ!
asked 2012-10-25 01:23:54 +0200Wolter
I am experiencing a bad rendering of the Calibri font in some scales while using LibreOffice Writer 18.104.22.168 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.
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.
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!
Asked: 2012-10-25 01:23:54 +0200
Seen: 761 times
Last updated: Feb 13