Spacing bug in Author mode, oXygen 9.1
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 125
- Joined: Mon Jun 09, 2003 6:02 pm
- Location: Charlottesville, Virginia USA
Spacing bug in Author mode, oXygen 9.1
I'm running standalone oXygen 9.1 (build 2007122116) under OS X. I'm finding a bug in space rendering in Author view with a simple TEI document where there is a <hi> tag following UTF-8 quotation marks. I haven't spent time playing around to see whether other non-ASCII characters cause the same behavior. What I'm seeing on screen is shown in this screen grab: http://lister.ei.virginia.edu/~drs2n/spacing.png. Clicking inside the "bad" paragraph causes the spacing to jump around.
This is using the default CSS associated with TEI files. The sample XML file:
This is using the default CSS associated with TEI files. The sample XML file:
Code: Select all
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<!-- a simple TEI Lite file demonstrating a bug in oXygen XML space handling -->
<teiHeader>
<fileDesc>
<titleStmt>
<title>Test document</title>
<author>David Sewell, dsewell@virginia.edu</author>
</titleStmt>
<publicationStmt>
<p>unpublished</p>
</publicationStmt><sourceDesc>
<p>original</p>
</sourceDesc></fileDesc>
</teiHeader>
<text>
<body>
<div>
<p>This is a paragraph.</p>
</div>
<div>
<note n="1" xml:id="n1">
<p>This is a note. It has a word in <hi rend="italic">italics</hi>
here. This paragraph is okay when you click inside and
edit it.</p>
</note>
<note n="2" xml:id="n2">
<p>This paragraph has text inside “Unicode quotation marks†and
then <hi rend="italic">italics</hi> like so. Are the spacing
and editing okay, or not?</p>
</note>
</div>
</body>
</text>
</TEI>
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi David,
We were also not able to reproduce the issue and we tested on a few operating systems.
It may be a font related problem, if we get wrong information when we ask the width of the rendered text and thus we display the following inline block of text at a different location than expected.
Best Regards,
George
We were also not able to reproduce the issue and we tested on a few operating systems.
It may be a font related problem, if we get wrong information when we ask the width of the rendered text and thus we display the following inline block of text at a different location than expected.
Best Regards,
George
George Cristian Bina
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
I tried on my Mac 10.5.1 and on a 10.4.11 and I could not reproduce it.
I think there is a problem with some fonts on that computer. I've seen cases in which some fonts report larger metrics than real, and the layout gets a bit out of the sync.
You could try opening the file frameworks/tei/xml/tei/css/tei.css and change the used fonts. Search for "font-family" and replace all the values with:
font-family:roman, 'times new roman', times, serif;
Regards,
Dan
I think there is a problem with some fonts on that computer. I've seen cases in which some fonts report larger metrics than real, and the layout gets a bit out of the sync.
You could try opening the file frameworks/tei/xml/tei/css/tei.css and change the used fonts. Search for "font-family" and replace all the values with:
font-family:roman, 'times new roman', times, serif;
Regards,
Dan
-
- Posts: 125
- Joined: Mon Jun 09, 2003 6:02 pm
- Location: Charlottesville, Virginia USA
I was able to fix this on my system by editing tei_oxygen.css and addingDan wrote:I tried on my Mac 10.5.1 and on a 10.4.11 and I could not reproduce it.
I think there is a problem with some fonts on that computer. I've seen cases in which some fonts report larger metrics than real, and the layout gets a bit out of the sync.
You could try opening the file frameworks/tei/xml/tei/css/tei.css and change the used fonts. Search for "font-family" and replace all the values with:
font-family:roman, 'times new roman', times, serif;
Code: Select all
font-family: Georgia
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