Page 1 of 1

Does Oxygen Author support the Dravidian languages?

Posted: Tue Jul 16, 2024 8:28 pm
by ann.jensen
Hi,
We are testing authoring content in the Dravidian languages Tamil, Telugu, and Bengali in Oxygen Author but are seeing the square characters as it doesn't seem to be able to process them.
e.g. আপনার দেশ নির্বাচন করুন:

Is there a configuration that will support this?
Thanks,
Ann

Re: Does Oxygen Author support the Dravidian languages?

Posted: Wed Jul 17, 2024 6:33 am
by Radu
Hi Ann,

Characters displayed as squares means that the fonts used to render those characters do not know how to display them.
In the Oxygen Preferences->"Appearance / Fonts" page you can change the font used for "Author default font" and "Editor".
When you click the "Choose" button to change a font, the font chooser dialog which shows up has a checkbox like "Show only the fonts that can render the selected text". Check that checkbox and then paste in the "Sample" text area some of those characters in order for Oxygen to show you the fonts which seem to be able to render them well.

Regards,
Radu

Re: Does Oxygen Author support the Dravidian languages?

Posted: Wed Jul 17, 2024 2:05 pm
by ann.jensen
Hi Radu,
Thanks for feedback. I have tried that and can find a font that will display Tamil, Telugu, and Bengali but then is no longer displays Japanese and says "No font was detected that can render the sample text". This happens when I include Japanese text
あなたの
and KN-IN text
ನಿಮ್ಮ
Regards,
Ann

Re: Does Oxygen Author support the Dravidian languages?

Posted: Thu Jul 18, 2024 6:23 am
by Radu
Hi Ann,
For the Text editing mode, only one font can be selected in the Preferences.
For the Author visual editing mode, the font selected in the Preferences is a default font and in the CSSs you can set a fixed enumeration of fallback fonts like we do for example in this sample CSS "OXYGEN_INSTALL_DIR/samples/unicode/cjk/korean/style.css":

Code: Select all

:root {
  font-family: "Century Gothic", "Helvetica", serif, "Malgun Gothic";
}
Regards,
Radu

Re: Does Oxygen Author support the Dravidian languages?

Posted: Thu Jul 18, 2024 3:48 pm
by ann.jensen
Thanks Radu.
I have 2 follow up questions to clarify this configuration:
1. Do I need to download the extra font e.g. Malgun Gothic and store it somewhere in Oxygen path or is it available from OS?
2. For a custom framework, where do I update CSS to refer to this extra font? Is in my framework css e.g. C:\Program Files\Oxygen XML Author 23\frameworks\<myframework>\css\override.css

Thanks again,
Ann

Re: Does Oxygen Author support the Dravidian languages?

Posted: Fri Jul 19, 2024 6:01 am
by Radu
Hi Ann,
Do I need to download the extra font e.g. Malgun Gothic and store it somewhere in Oxygen path or is it available from OS?
If the font is installed in your OS, the CSS should be able to use it. If not, it can be dynamically loaded by the CSS using the font-face at-rule:
https://www.oxygenxml.com/doc/versions/ ... media.html
For a custom framework, where do I update CSS to refer to this extra font? Is in my framework css e.g. C:\Program Files\Oxygen XML Author 23\frameworks\<myframework>\css\override.css
Yes, in your custom CSS.

Regards,
Radu