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

Having trouble installing Oxygen? Got a bug to report? Post it all here.
_cle_
Posts: 2
Joined: Thu Apr 15, 2021 3:18 pm

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

Post 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 1545 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
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
_cle_
Posts: 2
Joined: Thu Apr 15, 2021 3:18 pm

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

Post 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
Attachments
cursorproblem2.jpg
cursorproblem2.jpg (22.86 KiB) Viewed 1492 times
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply