Page 1 of 1

phonetic symbol in BGL format can't be recognized

PostPosted: Sat Jul 16, 2011 2:19 pm
by manbuyueqiu
i installed one dictionary named "Larousse Compact francais-anglais" in goldendic. however, this dic can't be correctly displayed as in Babylon. The phonetic symbols like " ɔ" and "ɛ" exist and occupy space but invisible in the interface. If you select the space where these symbols are supposed to appear and copy, you will get these symbols.

however, the phonetic symbol like "e" can be correctly displayed instead of "ɛ"

In lingoes, there is a option where you can choose the phonetic font like "lingoes unicode". why there is no such option in "goldendic" ?

How to solve the problem?
tks!!!!!!

Pls tell me the solution via my emailbox: greendragon10@ymail.com
Thanks!

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Sat Jul 16, 2011 3:10 pm
by Tvangeste
Most probably, your font is missing those symbols. Please take a look at the following thread that describes how to change the fonts:

viewtopic.php?f=4&t=1011

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Tue Jul 19, 2011 12:14 pm
by manbuyueqiu
Thanks very much! but i can not find the location of article-style.css file. i tried to search it, however it failed. Thanks anyway!
Would u pls tell me how to find this file ? 1ox again!

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Tue Jul 19, 2011 12:29 pm
by Tvangeste
There is no such file by default, you have to create it.

Take a look at the following message:
viewtopic.php?f=4&t=1011#p4197

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Wed Jul 20, 2011 12:53 am
by manbuyueqiu
TKX again! would u pls tell me how to create such file? it is edited in .txt format? where shall i put it in Windows XP ? Can i just copy the content in the post? thx very much!

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Wed Jul 20, 2011 11:01 am
by chulai
manbuyueqiu wrote:TKX again! would u pls tell me how to create such file?


Use Notepad.

manbuyueqiu wrote:it is edited in .txt format?


Yes, it's a regular text file but you have to save it with a .css extension. The filename should be article-style.css. Not article-style.css.txt!

manbuyueqiu wrote:where shall i put it in Windows XP ?


Assuming you are not using the Portable version of GoldenDict:

1) Press Windows key + E to open Windows Explorer.
2) Enter %USERPROFILE%\Application Data\GoldenDict in the location bar.
3) Create the file there.
4) Start GoldenDict and check the fonts.

manbuyueqiu wrote:Can i just copy the content in the post?


I think so. But you might change the fonts if they don't have those symbols.

manbuyueqiu wrote:thx very much!

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Thu Jul 21, 2011 12:34 am
by manbuyueqiu
Thanks so much for your quick response!!!
I followed your instruction and found the place where i could create this file. i read the post and copied one in http://pastie.org/1648008 and edited in .txt format. however, it still can not display the invisible phonetic symbols. i replace"Arial Unicode MS" with " Lingoes Unicode" in lingoes and it still failed to work. see the attachment for detailed article-style.css file.
Would u pls tell me where shall i make the amendment or would you please edit one such file for me to make those phonetic symbols like "ɛ" and "ɛ" and ɔ̃" visible? plz make sure i can copy it and edit in .txt format as i am a green hand in IT.

ps. in order to get a screen shot, i change the file name into " article-style.css.txt".

tkx very much!

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Tue Jul 26, 2011 2:59 am
by manbuyueqiu
Special thanks to chulai. Thanks for your quick response and patient explanation.

Thanks to all who have offered help.

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Tue Jul 26, 2011 12:14 pm
by chulai
manbuyueqiu, you have 2 errors on the CSS file:

1)
background: color: #C5ECCA;

have to be changed to:
background-color: #C5ECCA;

2)
{
color: #C5ECCA
}


if you want to set the background color you already have that rule in #1. If you want to change the font color you have to replace that rule with:

body {
color: #C5ECCA;
}


but you have to use a different color than #C5ECCA because you already set the background color to that color.

You can just replace all your rules in the file with:

Code: Select all
body {
  font-family: "Lingoes Unicode", Tahoma, Verdana, "Lucida Sans Unicode", sans-serif;
  background-color: #C5EDCA;
  color: black;
}



Regards,

Chulai

Re: phonetic symbol in BGL format can't be recognized

PostPosted: Wed Jul 27, 2011 12:30 am
by manbuyueqiu
chulai, It works perfectly well right now. The phonetic symbols are recognized and the background color and font color have changed. A billion thanks for your kind and patient help! Thank you and developers of this amazing dictionary.

Best Regards.