Page 1 of 1

Chinese Characters Rotated in Eclipse Plug-In

Posted: Mon Jul 26, 2004 9:33 pm
by drmacro
When I open a document containing Chinese ideographs in the Eclipse plug-in version (latest release under Eclipse 3) the chinese characters are rotated 90 to the left. The same document opened with the latest standalone editor does not rotate the characters.

For example, this data:

<term_group>
<group_key>&#19969;</group_key>
<group_label>&#20108;&#30059;</group_label>
<group_members></group_members>
</term_group>

The content of <group_key> and <group_label> are rendered rotated.

Cheers,

Eliot

Posted: Tue Jul 27, 2004 10:54 am
by george
Hi Eliot,

We reproduced the problem with Arial Unicode MS, however, it works ok if the font is set to Comic Sans MS. You can change the font from the Window->Preferences / oXygen / Editor dialog.

Best Regards,
George

Posted: Tue Jul 27, 2004 7:04 pm
by drmacro
Hmm. With Comic Sans MS the Chinese glyphs didn't appear at all, but if I used SimHei the rotation was correct.

I don't know if this is a core Java/SWT issue--I prefer to use Arial Unicode just because I work in a wide variety of languages so I need a font that supports as many as possible.

Cheers,

Eliot

Posted: Wed Jul 28, 2004 10:26 am
by george
Hi Eliot,

It seems a SWT problem indeed. I changed the font for the java editor to Arial Unicode MS and I also got the characters rotated.

Best Regards,
George