There are a number of ways to go about this in your ~/.config/fontconfig/fonts.conf, I personally would choose to blacklist that font since (based on what I can dig out of it) it should never match a query for an application font -- I'll assume you just use it manually where needed. I added a new section on the font config page of the wiki for you, using your font as an example:
No. I use it system wide so that I can view Sinhala text on UIs (KDE, etc) and on web pages. When I blacklist the font I cannot view Sinhala texts. Is there any other way to solve this problem? On Sun, Jan 18, 2015 at 8:41 PM, Troy Engel <troyengel+arch@gmail.com> wrote:
Today I figure out the problem. I cause by the Sinhala language font (ttf-lklug). when I uninstall that font everything works fine. But the problem is I need to keep that font. So is there way to solve this
On Sun, Jan 18, 2015 at 6:46 AM, Sadika Sumanapala <sadikahs@gmail.com> wrote: problem?
(something like chaining the order of fonts to make Sinhala font low priority. )
There are a number of ways to go about this in your ~/.config/fontconfig/fonts.conf, I personally would choose to blacklist that font since (based on what I can dig out of it) it should never match a query for an application font -- I'll assume you just use it manually where needed. I added a new section on the font config page of the wiki for you, using your font as an example:
https://wiki.archlinux.org/index.php/Font_configuration#Whitelisting_and_Bla...
BTW, the AUR package for that font is broken (missing a package() function), you might want to alert the packager. I just grabbed the font manually for this example.
-te