Page 1 of 1

Hebrew text and cursor position problem in editor (23.1 open jdk)

Posted: Thu Apr 15, 2021 3:34 pm
by _cle_
After the installation of the xml editor (and a second download and installation) the following problem persists:
cursorproblem.jpg
cursorproblem.jpg (32.23 KiB) Viewed 1558 times
The Hebrew Text overlaps with the Latin text of the document and the cursor is not displayed at the logical position, which leads to wrong cut/copy operations. Before installing the new version, Oxygen 23 openjdk worked perfectly.
Where can I fix the problem?
CL

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Posted: Fri Apr 16, 2021 1:27 pm
by adrian
Hello,

Double check the Java version in Help > About, System properties, java.version. Should be "15" if you are using the distribution of Oxygen that bundles OpenJDK 15.

Check if special characters mode is enabled, or if Oxygen prompts you to enable it.
To re-enable the dialog go to Options > Preferences, Editor > Open/Save and in the section "Support for Special Characters" select "Prompt for each document". Close and reopen the document and you should see the dialog. Pick "Enable" and check if it works as expected.

Regards,
Adrian

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Posted: Mon Apr 19, 2021 12:04 am
by _cle_
Dear Adrian,
thank you! I have reinstalled the older version (openjdk) 23 and it worked perfectly. Now, I installed 23.1 (replacing the older version), checked openjdk as suggested (java version = 15) and made the system prompt me for "enabling" special characters and bidirectionality: I klick on enable now after (restarting the program and) reopening the file, the problem persists:
Image
yours
Clemens

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Posted: Mon Apr 19, 2021 6:17 pm
by adrian
Hi,

Could you please send us a snippet of XML code with the combination of Hebrew and Latin scripts that overlap, so we can try to reproduce this on our side?
Please send it to support@oxygenxml.com or use the web site Technical Support form to submit the file.

Regards,
Adrian

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Posted: Fri Apr 23, 2021 7:10 pm
by adrian
Hi,

In case anyone else encounters this with Oxygen v23.1.

The issue reproduces with 125% Windows scaling in v23.1 build 2021040908. This build changed the default Editor font size when scaling is used.

Anyway, to keep a long story short, the problem appears with 125% Windows scaling, "Special Characters" mode enabled and a Monospaced font of even size (e.g. 12, 14), although it is fine with the same font of an odd size (e.g. 13, 15).

In v23.0 the default font size with scaling 125% is 13. In v23.1 (latest build) the default font size with scaling 125% is 12, hence the issue being immediately visible.

I've logged an issue to provide a better fix for this situation in the next maintenance build of v23.1.
Meanwhile, manually setting the Editor font (Options > Preferences, Appearance > Fonts) to size 13 (or another odd value) is a quick workaround for v23.1 build 2021040908.

Regards,
Adrian

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Posted: Thu Jun 17, 2021 3:16 pm
by adrian
Hello,

I just wanted to let you know that this problem has been avoided in the latest maintenance build of Oxygen 23.1, 2021061407 (released on June 17th):
Windows/OpenJDK/HiDPI/Text mode: The default font size for Text mode with OpenJDK and HiDPI (scaling) support has been increased to 13. The previous font size (12) caused rendering issues with special characters and scaling.
You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2021061407

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Regards,
Adrian