Rendering of space character in Author Mode
Oxygen general issues.
-
- Posts: 23
- Joined: Mon Feb 20, 2017 8:03 pm
Rendering of space character in Author Mode
Consider this document:
And this stylesheet:
When opening this in Author Mode (latest oXygen 19 build), it looks like this:

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.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="style.css" type="text/css"?>
<p>ἄτοπον ἅμα ζητεῖν ἐπιστήμην καὶ τρόπον<space/>ἐπιστήμης</p>
Code: Select all
p {
display: block;
}
space {
content: " ";
-oxy-display-tags: none;
}

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.
-
- Posts: 417
- 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:
All the best wishes,
Sorin Carbunaru
oXygen XML
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;
Sorin Carbunaru
oXygen XML
-
- Posts: 417
- 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.
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.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service