Problem displaying special Character in embedded Oxygen Auth

<oXygen/> general issues.
SNO
Posts: 15

Problem displaying special Character in embedded Oxygen Auth

Tue Dec 10, 2013 3:16 pm

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 &#150; &#151; &#147; &#148; ...

Is there a Preference I missed?

Regards,
Stefan
Stefan Nöbauer
Senior Solution Architect
KGU-Consulting GmbH
Radu
Posts: 5878

Re: Problem displaying special Character in embedded Oxygen

Tue Dec 10, 2013 4:21 pm

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
Location: Hamburg, Germany

Re: Problem displaying special Character in embedded Oxygen

Thu Dec 12, 2013 1:49 pm

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: 5878

Re: Problem displaying special Character in embedded Oxygen

Thu Dec 12, 2013 3:21 pm

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/char/0093/index.htm
http://www.fileformat.info/info/unicode/char/0094/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
Location: Hamburg, Germany

Re: Problem displaying special Character in embedded Oxygen

Thu Dec 12, 2013 5:22 pm

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: 5878

Re: Problem displaying special Character in embedded Oxygen

Thu Dec 12, 2013 5:38 pm

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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest