Tilde glyph not visible on print
Oxygen general issues.
-
- Posts: 23
- Joined: Mon Feb 20, 2017 8:03 pm
Tilde glyph not visible on print
Consider this document:
When I open it in Author Mode, I can see the tilde glyph in the <p> element. But when I print this from Author Mode, the print contains a font fallback box glyph instead of the tilde glyph.
Can you reproduce this? Is this a bug?
I'm using latest oXygen 19 on Windows 10.
Code: Select all
<?xml-stylesheet href="#s1" type="text/css"?>
<doc>
<s id="s1">
s {
display: none;
}
p {
display: block;
}
tilde {
content: "∼";
font-style: italic;
}
</s>
<p><tilde/></p>
</doc>
Can you reproduce this? Is this a bug?
I'm using latest oXygen 19 on Windows 10.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Tilde glyph not visible on print
Hi,
So you are using our File->Print action, right?
From what I remember on Windows 10 you can choose as a printer also the "Microsoft print to PDF".
If you print to PDF is the symbol visible in the PDF?
If after this you print the PDF to the printer, is the symbol visible on the printed paper?
Regards,
Radu
So you are using our File->Print action, right?
From what I remember on Windows 10 you can choose as a printer also the "Microsoft print to PDF".
If you print to PDF is the symbol visible in the PDF?
If after this you print the PDF to the printer, is the symbol visible on the printed paper?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 23
- Joined: Mon Feb 20, 2017 8:03 pm
Re: Tilde glyph not visible on print
Yes, I'm using File->Print.
It doesn't matter if I'm using "Microsoft Print to PDF" or a real printer. There's always the fallback box glyph, even in the PDF.
Please note, that the tilde I'm using is Unicode char U+223C.
It doesn't matter if I'm using "Microsoft Print to PDF" or a real printer. There's always the fallback box glyph, even in the PDF.
Please note, that the tilde I'm using is Unicode char U+223C.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Tilde glyph not visible on print
Hi,
A problem with your original document is that the Oxygen Author visual editing mode does not support having a CSS href the content of some element located in the same XML file.
Does the same example you gave me work for you? Did you add extra Java-based customizations in order for it to work?
If not, please send some sample XML + CSS set of resources (via email for example to support@oxygenxml.com).
Regards,
Radu
A problem with your original document is that the Oxygen Author visual editing mode does not support having a CSS href the content of some element located in the same XML file.
Does the same example you gave me work for you? Did you add extra Java-based customizations in order for it to work?
If not, please send some sample XML + CSS set of resources (via email for example to support@oxygenxml.com).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Tilde glyph not visible on print
Hi,
Updating this thread with the conversation we had via email.
So if the XML is like this:
and the CSS like this:
I can reproduce the problem and it seems related to the "font-style: italic;" which is set in the CSS.
By default, as the CSS does not specify a certain font family Oxygen uses a logical font called "Serif", this works when rendering the content but somehow the printing does not work with the same font for certain characters.
I will add an issue on our side but I'm not sure if we can control this in any way.
As a workaround if you set a specific font family in the CSS:
the printing seems to work. Printing also works if you remove the italic font family property.
Regards,
Radu
Updating this thread with the conversation we had via email.
So if the XML is like this:
Code: Select all
<doc>
<p><tilde/></p>
</doc>
Code: Select all
p {
display: block;
}
tilde {
content: "∼";
font-style: italic;
}
By default, as the CSS does not specify a certain font family Oxygen uses a logical font called "Serif", this works when rendering the content but somehow the printing does not work with the same font for certain characters.
I will add an issue on our side but I'm not sure if we can control this in any way.
As a workaround if you set a specific font family in the CSS:
Code: Select all
tilde {
content: "\00223C";
font-style: italic;
font-family:OpenSymbol;
}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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