Rendering of space character in Author Mode

<oXygen/> general issues.
Seb
Posts: 20

Rendering of space character in Author Mode

Tue May 02, 2017 12:59 pm

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
Site Admin
Posts: 156

Re: Rendering of space character in Author Mode

Tue May 02, 2017 3:01 pm

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
Site Admin
Posts: 156

Re: Rendering of space character in Author Mode

Fri Mar 16, 2018 5:11 pm

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.

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 2 guests