Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The Arabic language in the new Ubuntu font is missing, so it has to fallback to the standard font, but the problem is that the standard font isn't good, and I want to replace it with Tahoma.

Is there a way to do that or it is built into the font itself?

share|improve this question
up vote 3 down vote accepted

<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target="font">
        <test name="lang" compare="contains">

Stick that in your ~/.fonts.conf and everything written in Arabic should use Tahoma.

share|improve this answer
Thanks man, that's it :D – Reda Lazri Dec 9 '10 at 8:38

I believe the "fallback font" is called Unifont. I'm not sure you can change the fallback font itself, but you can always change the default font to Tahoma.

share|improve this answer
You can change the fallback font, but fontconfig is rather complicated. – JanC Nov 18 '10 at 10:24
No, I want to stick with the new font and use Tahoma for arabic. – Reda Lazri Nov 23 '10 at 14:42
@Clay Smalley: your answer doesn't attempt to address the OP's question. Essentially you didn't let something small, such as lacking knowledge on the subject matter, dissuade you from posting an answer. In this situation, less is more..., or preferably, just post a comment. – TechZilla Feb 28 '13 at 15:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.