Page 1 of 1

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

PostPosted: Sun Nov 09, 2014 12:27 pm
by fanofdiy
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

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

PostPosted: Sun Nov 09, 2014 1:12 pm
by Abs62
It seems fonts for articles don't include some chars. Add font with support of such chars via "article-style.css" file.

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

PostPosted: Sun Nov 09, 2014 1:28 pm
by fanofdiy
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.

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

PostPosted: Sun Nov 09, 2014 1:47 pm
by Abs62
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.

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

PostPosted: Sun Nov 09, 2014 3:31 pm
by fanofdiy
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.