Rendering of space character in Author Mode

Oxygen general issues.
Seb
Posts: 23
Joined: Mon Feb 20, 2017 8:03 pm

Rendering of space character in Author Mode

Post by Seb »

Consider this document:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="style.css" type="text/css"?>
<p>ἄτοπον ἅμα ζητεῖν ἐπιστήμην καὶ τρόπον<space/>ἐπιστήμης</p>
And this stylesheet:

Code: Select all

p {
display: block;
}

space {
content: " ";
-oxy-display-tags: none;
}
When opening this in Author Mode (latest oXygen 19 build), it looks like this:

Image

The space element is rendered quite big. Why is that and how to render a normal space element there (without changing the text)?

Please note that only normal ASCII spaces (U+0020) are used.
sorin_carbunaru
Posts: 403
Joined: Mon May 09, 2016 9:37 am

Re: Rendering of space character in Author Mode

Post by sorin_carbunaru »

Hello,

There is a problem with the default font that oXygen uses in the Author page, in combination with the usage of Greek characters. I will add an issue on our side and this thread will be updated when the problem is solved.

As a workaround, you can use another font in your CSS, such as Times New Roman:

Code: Select all

font-family: roman, 'times new roman', times, serif;
All the best wishes,
Sorin Carbunaru
oXygen XML
sorin_carbunaru
Posts: 403
Joined: Mon May 09, 2016 9:37 am

Re: Rendering of space character in Author Mode

Post by sorin_carbunaru »

Hello,

I wanted to let you know that for fixing this issue we added the Fast text layout check box in the Author preferences page. Deactivating this option will improve the computation quality for character widths in the visual editing mode, but it may hinder overall performance for very large edited XML documents.

All the best,
Sorin C.
Post Reply