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

Chinese Characters (in some .MDX dictionaries) can't be disp

Report bugs here

Chinese Characters (in some .MDX dictionaries) can't be disp

Postby fanofdiy » Sun Nov 09, 2014 12:27 pm

A Chinese dictionary named "漢語大字典(第二版)(電腦版)", which is a .mdx dictionary, can't be displayed normally.
It should be like the lower picture, in which it is displayed normally by other software which support .mdx dictionaries.
however, look at the upper picture, In which, it loses some Chinese Characters by goldendict. You can discover it by contrast if you pay attention to the nunber of Chinese Characters in the red circles in the two pictures. In goldendict, you can see the missing Chinese Characters are replaced by several dots.
here are the dictionary if you wanna confirm and fix the bug.
http://pan.baidu.com/s/1mg5f8k4
http://pan.baidu.com/s/1pJsOm9t
Attachments
2.png
what it is now in goldendict
2.png (202.55 KiB) Viewed 11021 times
1.png
what it should be like in other software which support .mdx dictionaries
1.png (268.58 KiB) Viewed 11021 times
fanofdiy
 
Posts: 9
Joined: Thu Apr 10, 2014 1:36 pm

Re: Chinese Characters (in some .MDX dictionaries) can't be

Postby Abs62 » Sun Nov 09, 2014 1:12 pm

It seems fonts for articles don't include some chars. Add font with support of such chars via "article-style.css" file.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Chinese Characters (in some .MDX dictionaries) can't be

Postby fanofdiy » Sun Nov 09, 2014 1:28 pm

Abs62 wrote:It seems fonts for articles don't include some chars. Add font with support of such chars via "article-style.css" file.

how to write the .css file?
Can you give me more specific instructions?
for windows, it should be put under the folder C:\user\app data\roaming\goldendict,right?
for mac os x, where to put it?
Thanks.
fanofdiy
 
Posts: 9
Joined: Thu Apr 10, 2014 1:36 pm

Re: Chinese Characters (in some .MDX dictionaries) can't be

Postby Abs62 » Sun Nov 09, 2014 1:47 pm

Just create "article-style.css" and write in it, for example:
Code: Select all
body
{
  font-family: Tahoma, Verdana, XXX;
}

Where Tahoma, Verdana - font families used by default in GD (its wrote in the internal article-style.css), instead of "XXX" you should write family name of font which you want to add.

This "article-style.css" file should be placed in GD configuration folder. To open this folder you can use "Help -> Configuration folder" command in GD menu.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Chinese Characters (in some .MDX dictionaries) can't be

Postby fanofdiy » Sun Nov 09, 2014 3:31 pm

Abs62 wrote:Just create "article-style.css" and write in it, for example:
Code: Select all
body
{
  font-family: Tahoma, Verdana, XXX;
}

Where Tahoma, Verdana - font families used by default in GD (its wrote in the internal article-style.css), instead of "XXX" you should write family name of font which you want to add.

This "article-style.css" file should be placed in GD configuration folder. To open this folder you can use "Help -> Configuration folder" command in GD menu.


Solved. :D "xxx" replaced by "Sun-ExtB" , then done. :D Thank you very much.
fanofdiy
 
Posts: 9
Joined: Thu Apr 10, 2014 1:36 pm


Return to Bugs

Who is online

Users browsing this forum: Google [Bot] and 8 guests

cron