Page 1 of 1

Unicode rendering problem

Posted: Thu Jun 22, 2017 9:06 am
by sony
Hi

I am trying to type Telugu(Indian language) in xml editor. But it is not displaying properly. I have put the fall back fonts in fonts folder.

I am trying to type ఓమ్ అస్మత్ గురుభ్యో నమః. It is displaying స్మ as స్ మ and భ్యో as భో య్

I need to address it urgently so that I can purchase the software start working with it.

Re: Unicode rendering problem

Posted: Thu Jun 22, 2017 1:38 pm
by Radu
Hi,

Are you editing the XML content in the "Text" editing mode or in the "Author" visual editing mode?
In the Oxygen Preferences->Fonts you can set the used font for both the "Text" and the "Author" editing modes. You can cycle through the fonts detecting by Oxygen from the system and see if you find one with a better display for those characters.
Unfortunately we have very little control over how the fonts in the system render the content. What fonts did you install in the system? If they are open source and we can try them on our side we could try to look more into this...

Regards,
Radu

Re: Unicode rendering problem

Posted: Thu Jun 22, 2017 5:01 pm
by sony
Thanks for your reply.

I am using GAUTAMI FONT.

I wonder the way oxygen works. I tried visual studio editor and 'xml copy editor' for 'tei'. both are rendering the text fine.

Re: Unicode rendering problem

Posted: Thu Jun 22, 2017 5:02 pm
by sony
I tried your suggestions too but no use

Re: Unicode rendering problem

Posted: Fri Jun 23, 2017 12:09 pm
by Radu
Hi,

I'm testing with Windows 10 which no longer comes pre-installed with Gautami so I googled and downloaded a Gautami font, then copied it to my Fonts folder.
Then I restarted Oxygen, set that font in the "Preferences->Appearance / Fonts" page as the font to be used for the Editor and pasted your characters in an opened XML document.
Here's how it looks like on my side:

https://www.oxygenxml.com/forum/files/gautamiFont.png

Is it better than what you get on your side?

Regards,
Radu

Re: Unicode rendering problem

Posted: Tue Apr 03, 2018 10:17 am
by sony
still the same problem

Re: Unicode rendering problem

Posted: Tue Apr 03, 2018 11:59 am
by sorin_carbunaru
Hello Sony,

Could you please answer each of the following questions?

1. What operating system are you using (name and version, please)?
2. What version number does your oXygen installation have?
3. Do you use the stand-alone oXygen application or the Eclipse plug-in?
4. Where do you notice the rendering problems in oXygen, in the Text page (with the XML tags) or the Author page (with the Office-style rendering)?

As another suggestion, you could try to download and use some other fonts that are able to render Telugu characters (found this on the Internet: http://fonts.siliconandhra.org/).

Regards,
Sorin Carbunaru
oXygen XML

Re: Unicode rendering problem

Posted: Tue Apr 03, 2018 1:12 pm
by sony
Hello,

OS - Windows 10
Oxygen - 19.0, Stand alone application
The problem is in text page ైwith in xml tags

it should like
<TEI><teiHeader><fileDesc><titleStmt><title xml:lang="te">శ్రీ యతీన్ద్రమతదీపికా</title><title xml:lang="en" type="sub">A VLRDP edition</title><author xml:lang="te">శ్రీమద్వాధూలకులతిలక శ్రీమన్మహాచార్య ప్రథమశిష్య
శ్రీశ్రీనివాసాచార్య </author>

but it is like
Image

I have changed font to 'Gautami' in options->appearence->fonts->editor

tried other fonts as well. same problem.

Thanks,
Sony

Re: Unicode rendering problem

Posted: Tue Apr 03, 2018 2:43 pm
by sorin_carbunaru
Hello again,

Unfortunately my colleague Radu is on vacation and I cannot ask him how he managed to render the text correctly on his computer in the stand-alone oXygen...

However, I also tried our oXygen XML Editor as an Eclipse plug-in, with the Gautami font that I've downloaded, and the text seemed to be rendered as you want, both in the Text and in the Author pages, with slight differences. If you are interested in this, you can also download Eclipse (https://www.eclipse.org/downloads/) and then unzip the content from http://archives.oxygenxml.com/Oxygen/Ed ... 022209.zip into Eclipse's "dropins" folder. After restarting Eclipse, you can try opening your sample and check if it's rendered as you wish.

Sorin C.

Re: Unicode rendering problem

Posted: Tue Apr 03, 2018 3:28 pm
by sony
Thanks for your help. I used yet another font and it worked.

Re: Unicode rendering problem

Posted: Tue Apr 03, 2018 3:44 pm
by sorin_carbunaru
Good news! May I ask what font you used? It might also be helpful for other people as well. :)