Re: How to set default font and the subsititution font?

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

 



Then the second problem is How to set the
substitution font of a font? If the encoding of a
char is not in the range of the encoding of the
font, then the substitution font is loaded. If I
set "Tahoma" as the default font and simsun.ttf as
the substitution font of "Tahoma", then wine can
show acsii via "Tahoma" and chinese words via
simsun.ttf

This can be done by adding the following entry in ~/.wine/system.reg
-- snip --
[Software\\Microsoft\\Windows
NT\\CurrentVersion\\FontLink\\SystemLink] 1150441842
"Tahoma"=str(7):"simsun.ttf\0"
-- snip --
This registry specifies that simsun should be used as a "fallback"
font for Tahoma in case the char is not present in Tahoma. Similarly,
you can also add font link for other fonts.

-Nigel

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux