Newline characters now appearing in author mode

<oXygen/> general issues.
wbrisett
Posts: 24
Joined: Thu Feb 21, 2013 11:44 pm

Newline characters now appearing in author mode

Post by wbrisett » Thu Dec 10, 2020 4:38 pm

I'm using oXygen 23, I am now seeing in DITA <codeblock> element the \n character as a square box. I don't ever recall seeing these before. Did something change? When I examined the file it's really the 0x0A character in that spot, so nothing odd there. I don't see anything in the preferences to disable showing invisible characters. I'm stumped... Thoughts?

Radu
Posts: 7534
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu » Fri Dec 11, 2020 11:41 am

Hi Wayne,

On what operating system are you working? Did you change any setting in the Oxygen Preferences->Fonts page?
In the Oxygen main menu Help->About there is a "System Preferences" tab, can you tell me what "java.version" value you have listed here?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

dbailey
Posts: 2
Joined: Thu May 06, 2021 7:03 pm

Re: Newline characters now appearing in author mode

Post by dbailey » Thu May 06, 2021 7:23 pm

I'm seeing the same behavior in oXygen 23.1 on macOS 10.15 Catalina.
newlines-in-codeblock.png
newlines-in-codeblock.png (20.06 KiB) Viewed 230 times
Help > About > System properties > java.version = 15.0.1
Editor font is Monaco 12 point.

Radu
Posts: 7534
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu » Fri May 07, 2021 9:51 am

Hi,

Thanks for the details.
The "Editor" font is the font used in the Text page. The "Author" font is by default Times New Roman on Mac but in code blocks we use the default platform monospaced font which somehow indeed seems to have problems when Oxygen is run with Java 15. The Oxygen kit which comes with Java 8 does not have this problem. I added an internal issue to investigate this further and see if there is anything on our side which could be done.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

dbailey
Posts: 2
Joined: Thu May 06, 2021 7:03 pm

Re: Newline characters now appearing in author mode

Post by dbailey » Fri May 07, 2021 10:19 pm

Thanks for the response, Radu.

For whatever it's worth, I upgraded recently to 23.1 from 20.1, which didn't have this behavior on the same machine with the same OS version and Java version. So it seems as though there's something new in oXygen that's contributing to the issue.

Radu
Posts: 7534
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu » Mon May 10, 2021 7:29 am

Hi,

Thanks for the hint, I added it on the opened issue and we'll look over this.
But Oxygen comes with a bundled Java installation (it does not use the default Java installation in the OS), looking in our downloads history for Oxygen 20.1 we only had on Mac OS a kit which bundled Java 8 (OS X 10.8 and later (Includes Java SE 8u172)):
https://www.oxygenxml.com/xml_editor/so ... r_eol.html

Oxygen 21.0 started to be bundled on Mac OS with both Java 8 and 11:
https://www.oxygenxml.com/xml_editor/so ... ditor.html

and we started using Oxygen kits with Java 15 only in recent Oxygen 23.x installation kits.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply