font-style:italic
Oxygen general issues.
-
- Posts: 15
- Joined: Thu Feb 26, 2009 12:12 am
font-style:italic
Hi all,
We have created an Aboriginal font set and we are trying to display these fonts in oXygen as well as Word. Our designer has created the font set and given it to the developers to test; this is what we found:
Aboriginal Times Regular: works
Aboriginal Times Bold: works
Aboriginal Times Italic: FAILS
Aboriginal Times Bold-Italic: works (strange, since Italic failed)
Aboriginal Helvetica Regular: works
Aboriginal Helvetica Bold: works
Aboriginal Helvetica Italic: works
Aboriginal Helvetica Bold-Italic: works
We have created a <font/> element to display these fonts, and use it like this:
<font font-family='Aboriginal Times' font-weight='bold' font-style='italic'>some text</font>
And the css is simply:
font {
font-family:attr(font-family);
font-weight:attr(font-weight);
text-decoration:attr(text-decoration);
font-style:attr(font-style);
}
What is puzzling is that the Aboriginal Times Italic is not viewing correctly only in oXygen. When we export the xml document to Word, *everything* looks fine (suggesting that the font was created properly).
Thanks in advance for any suggestions!
/dylan
We have created an Aboriginal font set and we are trying to display these fonts in oXygen as well as Word. Our designer has created the font set and given it to the developers to test; this is what we found:
Aboriginal Times Regular: works
Aboriginal Times Bold: works
Aboriginal Times Italic: FAILS
Aboriginal Times Bold-Italic: works (strange, since Italic failed)
Aboriginal Helvetica Regular: works
Aboriginal Helvetica Bold: works
Aboriginal Helvetica Italic: works
Aboriginal Helvetica Bold-Italic: works
We have created a <font/> element to display these fonts, and use it like this:
<font font-family='Aboriginal Times' font-weight='bold' font-style='italic'>some text</font>
And the css is simply:
font {
font-family:attr(font-family);
font-weight:attr(font-weight);
text-decoration:attr(text-decoration);
font-style:attr(font-style);
}
What is puzzling is that the Aboriginal Times Italic is not viewing correctly only in oXygen. When we export the xml document to Word, *everything* looks fine (suggesting that the font was created properly).
Thanks in advance for any suggestions!
/dylan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: font-style:italic
Hi Dylan,
Tough one. So your designer gave you a TTF font, you installed it in the operating system. Then in the Oxygen Author page everything works except when the text should be rendered as plain italic using the font.
I tried to reproduce this by creating a small XML + CSS and using one of the existing fonts on my platform and the Author rendered correctly the font for italic or plain or italic + bold.
Oxygen is a Java application and for creating and rendering strings with certain fonts we rely on the Java VM.
Maybe if you can send us the fonts for additional tests to the support email address (support@oxygenxml.com) we could give you more details.
But from what it seems most possibly the problem is with the font implementation.
Regards,
Radu
Tough one. So your designer gave you a TTF font, you installed it in the operating system. Then in the Oxygen Author page everything works except when the text should be rendered as plain italic using the font.
I tried to reproduce this by creating a small XML + CSS and using one of the existing fonts on my platform and the Author rendered correctly the font for italic or plain or italic + bold.
Oxygen is a Java application and for creating and rendering strings with certain fonts we rely on the Java VM.
Maybe if you can send us the fonts for additional tests to the support email address (support@oxygenxml.com) we could give you more details.
But from what it seems most possibly the problem is with the font implementation.
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