You are not logged in.

#1 2012-07-19 05:22:00

thevdude
Member
Registered: 2012-07-19
Posts: 7

[SOLVED].fonts.conf weird problem

I've installed lohit-fonts from AUR, and it ends up giving me the lohit-telugu for my defaults with halfwidth and fullwidth forms unicode block (and just about everything else) on monospace fonts.

I'd like to be able to set it up per unicode block (or script) to either use lohit-kannada (or telugu, or any of the lohit-fonts that are there) while using unifont for the ones that aren't actually there (they show as box glyphs in lohit-telugu, which is making a box come up instead of it moving on to another font)

Alternatively, how can I remove these box glyphs from lohit-telugu (which should then move on to unifont)

¢£¬ ̄ are some of the problem characters. You can find them with gucharmap (tell it to 'show only glyphs from this font' and if you have lohit-fonts installed, you'll see box glyphs instead of blank places for these characters in lohit-telugu.)

Last edited by thevdude (2012-07-20 01:08:07)

Offline

#2 2012-07-19 14:11:13

thevdude
Member
Registered: 2012-07-19
Posts: 7

Re: [SOLVED].fonts.conf weird problem

Going to try to edit the font in fontforge or with the fonttools package from AUR

Offline

#3 2012-07-19 18:06:35

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED].fonts.conf weird problem

thevdude wrote:

while using unifont for the ones that aren't actually there (they show as box glyphs

Fontconfig doesn't allow per-character font choosing.

Can't you just use a decent unicode font?

Offline

#4 2012-07-20 01:07:51

thevdude
Member
Registered: 2012-07-19
Posts: 7

Re: [SOLVED].fonts.conf weird problem

I have a decent unicode font, it's just that lohit-telugu has box glyphs for glyphs it doesn't have.

I did find a fix for this, in /etc/fonts/conf.d/65-nonlatin.conf, add <family>unifont</family> before <family>Lohit Telugu</family> everywhere pretty much.

Offline

Board footer

Powered by FluxBB