Babylon font render error
Posted:
Sun Oct 25, 2009 12:05 pm
by hkenneth
The Longman Dictionary of Contemporary English file can be found here:
http://rapidshare.com/files/262709904/LongmanPack.zipThis dictionary uses AWLPhonetics3U.TTF to show pronunciation. GoldenDict cannot render these fonts correctly.
Re: Babylon font render error
Posted:
Sun Oct 25, 2009 12:10 pm
by hkenneth
The previous link seems to be broken. The following one should work.
http://www.rayfile.com/zh-cn/files/c712 ... 4221b798a/
Re: Babylon font render error
Posted:
Sun Oct 25, 2009 1:49 pm
by ikm
You can try creating ~/.goldendict/article-style.css and putting there
- Code: Select all
body
{
font-family: Tahoma, Verdana, "Lucida Sans Unicode", sans-serif, "<Your font name>";
}
The font should be accessible system-wide.
Re: Babylon font render error
Posted:
Sun Oct 25, 2009 7:56 pm
by hkenneth
The problem is: when I install this font into my Linux, I can see the pronunciation font format being changed. (The default font is san-serif, but this font is serif so I know it). These normal English characters are correct, but other specific characters like ɛ and ǝ cannot be rightly rendered.
I also added the ccs file as you suggested, but it does not work.
Re: Babylon font render error
Posted:
Sun Oct 25, 2009 8:06 pm
by ikm
Do File|Save article (F2) and check if the resulting html looks equally bad in a real browser. If so, please attach it.
Re: Babylon font render error
Posted:
Sun Oct 25, 2009 8:14 pm
by hkenneth
It's still incorrect. I attached the output html file here.
Actually, some of the other parts of the page, which are supposed to be blanks, were also rendered incorrectly.
Re: Babylon font render error
Posted:
Sun Oct 25, 2009 8:23 pm
by hkenneth
There is another dictionary whose word pronunciations cannot be shown correctly either. It uses another font: Kingsoft Phonetic. I checked the output html file. They are correct. The Chinese translation part of the output are also rendered incorrectly.
The dictionary file can be downloaded here:
http://www.rayfile.com/zh-cn/files/80fa ... /d7922759/I attached the essential font.