Page 1 of 1

change fonts,two languages two fonts

PostPosted: Fri Jun 13, 2014 8:46 am
by tempher
i want to let chinese with Microsoft YaHei,and english with consolas.
i have read http://goldendict.org/wiki/index.php/FAQ .but i failed :(
glodendict 1.5.0-rc-358-g6cb186a

Re: change fonts,two languages two fonts

PostPosted: Sat Jun 14, 2014 4:55 am
by tempher
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize “GUIFont.Facename" Microsoft Yahei
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes “MS Shell Dlg 2” Microsoft Yahei
then,article-style.css
body
{
font-family: consolas;
}
restart(or logout)
have better ways?

Re: change fonts,two languages two fonts

PostPosted: Sat Jun 14, 2014 7:23 am
by Abs62
If you want to adjust GoldenDict interface, you can use "qt-style.css" file like you use "article-style.css" file for articles presentation. Read here about Qt style sheet syntax.