Can I override fonts installed by ttf-mscorefonts-installer, prefer Liberation fonts?

Posted by conner_bw on Ask Ubuntu See other posts from Ask Ubuntu or by conner_bw
Published on 2012-11-01T16:14:32Z Indexed on 2012/11/07 5:16 UTC
Read the original article Hit count: 413

Filed under:
|

I had to apt-get install ttf-mscorefonts-installer on Ubuntu 12.04/12.10. The short version is I need to pipe PDF files out of an application that requires these fonts for certain glyphs.

The problem, after running this command, is that the fonts in my web browser (and some java apps) are now "ugly." Obviously this is a subjective opinion but it is the one I hold.

I want the old fonts back for most cases (Liberation, DejaVu, Ubuntu, ...). I'm not sure how best to describe this but here's an example:

Example CSS in Webbrowser

font-family: Verdana,Arial,sans-serif;

Without ttf-mscorefonts-installer (Case 1):

    $ fc-match Verdana
    LiberationSans-Regular.ttf: "Liberation Sans" "Regular"

    $ fc-match Arial
    LiberationSans-Regular.ttf: "Liberation Sans" "Regular"

    $ fc-match sans-serif
    LiberationSans-Regular.ttf: "Liberation Sans" "Regular"`

With ttf-mscorefonts-installer (Case 2):

    $ fc-match Verdana
    Verdana.ttf: "Verdana" "Normal"

    $ fc-match Arial
    Arial.ttf: "Arial" "Normal"

    $ fc-match sans-serif
    LiberationSans-Regular.ttf: "Liberation Sans" "Regular"`

I want (Case 1). Optionally, I want the fonts in (Case 2) not to look "ugly" IE. they are more jagged, less smooth than their free alternatives in my web browsers.

Is this possible?

© Ask Ubuntu or respective owner

Related posts about fonts

Related posts about .ttf