Problem displaying special Character in embedded Oxygen Auth

Oxygen general issues.
SNO
Posts: 51
Joined: Mon Oct 01, 2012 3:05 pm

Problem displaying special Character in embedded Oxygen Auth

Post by SNO »

Hi,

I discovered a problem, that the embadded Oxygen Author 15.0 is not able to display special character. In the 15.1. Standalone Auther everything works just fine.

Examples would be the Character – — “ ” ...

Is there a Preference I missed?

Regards,
Stefan
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Problem displaying special Character in embedded Oxygen

Post by Radu »

Hi Stefan,

When you say embadded component, do you mean the Oxygen plugin for Eclipse embedded in the Eclipse Workbench?

It probably depends on the font used to render the content in the Author mode.
There is a special oXygen Fonts page in the Eclipse Preferences which controls the font used to render content in the Author editing mode. You can also set a certain font from the CSS for certain elements.

If you still have problems with this, maybe you can send us a screenshot showing the problem and more details to support@oxygenxml.com.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
SSC
Posts: 206
Joined: Thu Dec 01, 2011 4:22 pm
Location: Hamburg, Germany

Re: Problem displaying special Character in embedded Oxygen

Post by SSC »

Hi Radu,
Radu wrote: When you say embadded component, do you mean the Oxygen plugin for Eclipse embedded in the Eclipse Workbench?
Yes it concerns the Eclipse plugin 15.1

Unfortunately changing the Font in the preferences is not a solution for the problem.
In the standalone version of Oxygen you are able to see for instance those special quotes and in the Eclipse plugin version, they are not shown.
This is also true for the text view of the Oxygen editor and not only the author view.

Here is the screenshot of the Oxygen standalone version(in author view):

Image

and here is the screenshot of the Oxygen Eclipse plugin version(in author view):

Image

In addition to that, I´ll send you a sample xml document via email.

Best regards,

Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Problem displaying special Character in embedded Oxygen

Post by Radu »

Hi Simon,

Thanks for the samples, actually the same problem can be reproduced if the same XML document is opened in the Text editing mode with Oxygen or even with Eclipse's Text editor. So the problem is not on our side.

Usually smart quotes are done using these characters U201C
and U201D and they are properly rendered both in the Oxygen standalone and in the Oxygen plugin for Eclipse.

You seem to be using these characters instead: U0093 and U0094 which were not intended for this, if you look at their description:

http://www.fileformat.info/info/unicode ... /index.htm
http://www.fileformat.info/info/unicode ... /index.htm

they are actually control characters, indeed some fonts seem to be able to render them as quotes, but this does not occur inside Eclipse for some reason.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
SSC
Posts: 206
Joined: Thu Dec 01, 2011 4:22 pm
Location: Hamburg, Germany

Re: Problem displaying special Character in embedded Oxygen

Post by SSC »

Hello Radu,

Actually those characters are offered by your character table:

Image

So that the Problem might occur pretty often, if some users use the standalone version of Oxygen and other users use the Eclipse plugin version of Oxygen.

Do you have any idea to avoid those characters or convert them into a better/supported format?

Best regards,

Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Problem displaying special Character in embedded Oxygen

Post by Radu »

Hi Simon,

We have no control over what the Swing font renders for those two control characters, we just show a table with all characters which can be rendered by a particular font. In more recent versions of Oxygen standalone (15.1) when you select a character you will also see its description in the Character Map dialog.

Also starting with Oxygen 15.0 there is a Preferences page called Editor / Edit modes / Author / AutoCorrect where you can enable smart quotes support in the Author visual editing mode. The smart quotes will insert the proper characters.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply