Disabling font X for language Y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Around 12 o'clock on Apr 22, Stefan Baums wrote:

> My problem is that when the specified font does not contain Cyrillic
> characters, then Cyrillic characters get displayed with atrocious-looking,
> overspaced glyphs from a Chinese font that happens to contain some Cyrillic
> glyphs (see attached image), in spite of the fact that perfectly good
> Cyrillic fonts are installed on the system.

That's easily fixed by ammending the list of fonts included in the 
sans-serif, serif and monospace lists.  Make the fonts you prefer appear 
before the fonts you dislike and fontconfig will happily provide them 
first in the list to the application.

in your ~/.fonts.conf, you can add:

<alias>
	<family>sans-serif</family>
	<prefer>
		<family>Favorite Sans-Serif Cyrillic Font Name Here</family>
	</prefer>
</alias>

<alias>
	<family>serif</family>
	<prefer>
		<family>Favorite Serif Cyrillic Font Name Here</family>
	</prefer>
</alias>
<alias>
	<family>monospace</family>
	<prefer>
		<family>Favorite Monospace Cyrillic Font Name Here</family>
	</prefer>
</alias>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/fontconfig/attachments/20040422/58b2ad29/attachment.pgp

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux