Babylon font render error

Report bugs here

Babylon font render error

Postby hkenneth » Sun Oct 25, 2009 12:05 pm

The Longman Dictionary of Contemporary English file can be found here: http://rapidshare.com/files/262709904/LongmanPack.zip

This dictionary uses AWLPhonetics3U.TTF to show pronunciation. GoldenDict cannot render these fonts correctly.
hkenneth
 
Posts: 8
Joined: Sun Oct 25, 2009 11:47 am

Re: Babylon font render error

Postby hkenneth » Sun Oct 25, 2009 12:10 pm

The previous link seems to be broken. The following one should work.

http://www.rayfile.com/zh-cn/files/c712 ... 4221b798a/
hkenneth
 
Posts: 8
Joined: Sun Oct 25, 2009 11:47 am

Re: Babylon font render error

Postby ikm » Sun Oct 25, 2009 1:49 pm

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.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: Babylon font render error

Postby hkenneth » Sun Oct 25, 2009 7:56 pm

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.
hkenneth
 
Posts: 8
Joined: Sun Oct 25, 2009 11:47 am

Re: Babylon font render error

Postby ikm » Sun Oct 25, 2009 8:06 pm

Do File|Save article (F2) and check if the resulting html looks equally bad in a real browser. If so, please attach it.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: Babylon font render error

Postby hkenneth » Sun Oct 25, 2009 8:14 pm

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.
Attachments
Screenshot-GoldenDict.png
Screenshot-GoldenDict.png (84.65 KiB) Viewed 5302 times
Output.tar.gz
Article outputs, and AWLPhonetics3U.ttf
(59.33 KiB) Downloaded 347 times
Last edited by hkenneth on Sun Oct 25, 2009 8:28 pm, edited 2 times in total.
hkenneth
 
Posts: 8
Joined: Sun Oct 25, 2009 11:47 am

Re: Babylon font render error

Postby hkenneth » Sun Oct 25, 2009 8:23 pm

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.
Attachments
ksphonet.TTF.tar.gz
(12.74 KiB) Downloaded 435 times
hkenneth
 
Posts: 8
Joined: Sun Oct 25, 2009 11:47 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 8 guests