I'm setting up an Arch box and I've installed Plasma 5 as my desktop environment. However, monospace fonts are behaving very erratically:

  • Listed in the 'Fonts' prefpane, it displays fine.
  • As part of a terminal emulator, it's fine.
  • Firefox slants them something awful in some cases (see forum), and
  • will completely miss them in other cases (see post).

It's probably worthwhile to note that evaluating (set-default-font "Oxygen Mono") in emacs fails with

Invalid font name: -unknown-Oxygen-Sans-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1,

suggesting to me that there is some font registration issue. (Note that it's looking for Oxygen Sans…)

How can I achieve sanity and convince these fonts to behave?


Additional information from continuing research:

  • $ fc-match mono gives Oxygen-Sans.tff: "Oxygen Sans" "Sans-Book"
  • $ fc-match foo also gives Oxygen-Sans.tff: "Oxygen Sans" "Sans-Book"
  • @Downvoter, care to explain? – Sean Allred Jul 24 '15 at 5:52
  • Looks like leading zero 0 instead of letter O 0xygen Mono 9? – JosefZ Jul 2 '16 at 23:05
  • Oxygen vs 0xygen – doesn't look like it. – Sean Allred Jul 2 '16 at 23:45
  • I think the problem is that "Oxygen-Sans" has a hyphen in it. – sid-kap Dec 2 '16 at 20:34

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.