Newline characters now appearing in author mode

Oxygen general issues.
wbrisett
Posts: 38
Joined: Thu Feb 21, 2013 11:44 pm

Newline characters now appearing in author mode

Post by wbrisett »

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: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu »

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 »

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 1677 times
Help > About > System properties > java.version = 15.0.1
Editor font is Monaco 12 point.
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu »

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 »

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: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu »

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
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Newline characters now appearing in author mode

Post by Radu »

Hi,

We released Oxygen 24 and it should have this problem fixed.

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