New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

change fonts,two languages two fonts

General discussion

change fonts,two languages two fonts

Postby tempher » Fri Jun 13, 2014 8:46 am

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
tempher
 
Posts: 2
Joined: Fri Jun 13, 2014 8:08 am

Re: change fonts,two languages two fonts

Postby tempher » Sat Jun 14, 2014 4:55 am

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?
tempher
 
Posts: 2
Joined: Fri Jun 13, 2014 8:08 am

Re: change fonts,two languages two fonts

Postby Abs62 » Sat Jun 14, 2014 7:23 am

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.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests