font rendering for CJK

seongbin
Posts: 1
Joined: Fri Apr 29, 2011 5:40 pm
Contact:

font rendering for CJK

Postby seongbin » Fri Apr 29, 2011 5:55 pm

Hi~
I have a font rendering bugs in 'edit window'. Personally, I usually use Chinese and Korean. But as you can see from the screenshot, even if I customized the 'Text font', it appears really weird. When characters comes to a different language, it just changed to a different font for the that language.

Image
http://www.freeimagehosting.net/uploads/a62ceb5f9a.png

my environment:
win7.en (locale language is chs)
cinta ver 1.4.3
GoD

Re: font rendering for CJK

Postby GoD » Wed May 04, 2011 1:56 pm

Same problem here with unicode characters.
I the note window, I get only the black boxes, in the list, I can see the complete text.

I cannot paste the string because the forum gives me an error:
SQL ERROR [ mysql4 ]
Incorrect string value: '\xE3\x82\xB7 \xC2\xA1...' for column 'post_text' at row 1 [1366]

Here is a screenshot
http://img23.imageshack.us/img23/6162/testgb.png
ale
Moderator
Posts: 202
Joined: Fri Feb 06, 2009 6:01 pm

Re: font rendering for CJK

Postby ale » Wed May 04, 2011 8:51 pm

This seems to me the same behaviour for both. The problem is not really the black boxes, they usually simply mean a missing glyph in the font, but the problem is that somewhat in the text is triggered the use of two different fonts.

Unfortunately there's not much we can do for the SQL error. I think the forum software has some problems with Unicode text. A workaround to submit a sample of text is to use the attachment function with a ZIP file, or possibly one of those online text sharing services.

Edit: I read a bit about the SQL error and it seems not a phpBB bug but it's possibly about the MySQL DB, they point to this article http://www.phpbb.com/kb/article/doesnt-have-a-default-value-errors/. But I think it's low priority and something to look at when the time permits and with a full backup of the board. I don't know if/when Alex can look at this :)
User avatar
CintaNotes Developer
Site Admin
Posts: 4654
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: font rendering for CJK

Postby CintaNotes Developer » Thu May 26, 2011 3:12 am

Hi seongbin,

thanks for reporting and sorry it took me awhile to reply!

I could reproduce the behavior that you describe. I've registered the problem on the roadmap:
http://roadmap.cintanotes.com/feedback/39948-/

After doing some research, I think it boils down to this MS RichEdit behavior.

So the characters between two runs of Chinese text also get GB2312_CHARSET and thus render in SimSun instead of the font configured in the "Note Appearance" dialog. I'll see what I can do about this, but honestly it needs to get some votes first because I don't think it is a critical issue.
Alex

Return to “Bug Reports”