Issue 40325 - Fraction error in PDF export
Summary: Fraction error in PDF export
Status: ACCEPTED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.4
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-01-10 22:36 UTC by kzollman
Modified: 2017-05-20 11:29 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The exported PDF file with missing fractions (83.68 KB, application/pdf)
2005-01-10 22:37 UTC, kzollman
no flags Details
The original OOo write file with the fractions (26.76 KB, application/vnd.sun.xml.writer)
2005-01-10 22:37 UTC, kzollman
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description kzollman 2005-01-10 22:36:32 UTC
When I use the font fractions for Times New Roman in a document and export that 
document to PDF, only 1/2 fractions are exported all other fractions are not.

The document was created originally in OOOo 1.1.3, but exported to pdf in 
1.1.4.  The PDF file was viewed using Adobe Acrobat 6.0 Professional
Comment 1 kzollman 2005-01-10 22:37:09 UTC
Created attachment 21323 [details]
The exported PDF file with missing fractions
Comment 2 kzollman 2005-01-10 22:37:55 UTC
Created attachment 21324 [details]
The original OOo write file with the fractions
Comment 3 michael.ruess 2005-01-11 07:55:58 UTC
reassigned to HI.
Comment 4 ralphie 2005-01-20 01:29:28 UTC
One aspect seems to be, that the document uses a strange mixture of
Times New Roman (TrueType) and Times (Type1 PostScript). When I open the 
document, I see blank rectangles where I suppose the fractions for 1/3 
and 2/3 should be, but 1/2 works fine. See bottom of page 5.

My font menu says that the font is "Times". When I switch the font to
Times New Roman, then the fractions work.

client21% pdffonts Downloads/Ultimatum\ Write\ Up.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
Times-Bold                           Type 1       no  no  no      44  0
Times-Roman                          Type 1       no  no  no      46  0
Times-BoldItalic                     Type 1       no  no  no      45  0
Times-Italic                         Type 1       no  no  no      43  0
FAAAAA+TimesNewRomanPSMT             TrueType     yes yes yes     36  0
Helvetica                            Type 1       no  no  no      42  0
HAAAAA+ArialMT                       TrueType     yes yes yes     41  0

Comment 5 lai_w 2005-01-23 01:05:09 UTC
OOo 1.1.3 and 1.1.4 under WinXp Pro, SP2, Ver. 5.1, Build 2600

(a)
1. Created NEW text document with font Fractions for 1/2, 1/4 and 3/4 being
Times New Roman in O.O.o 1.1.3.
2. Exported to PDF in O.O.o 1.1.4, viewed with Adobe Acrobat 6.0 Professional.

Result: All fractions exported.

(b)
Copied pasted table 1 on page 6/15 of original OOo file into a NEW text document
in OOo 1.1.4. Saved, exported to PDF and viewed with Adobe Acrobat 6.0 Professional.

Result: Only 1/2 fractions are exported.

Conclusion: Bug seem to be specific to the original Ooo file submitted.
Comment 6 nagashree 2005-01-24 04:33:14 UTC
Was able to replicate the bug only with the attached document. Tried to create
one new document to replicate the issue, but seems to work fine.
Comment 7 kzollman 2005-01-24 23:05:54 UTC
I converted the entire text of the original document to Times New Roman (thanks
to the suggestions here) and then exported as PDF and the fractions appeared. 
In fact, on first try I only changed the text in the body (not the footnotes)
and the fractions were visible in the body but not in the footnotes.  When I
changed the footnotes the export went fine everywhere.

Hope this helps, and thanks alot for looking into it!
Comment 8 h.ilter 2005-01-25 16:05:14 UTC
HI->PL: Not reproducible for me but maybe you'll find somethink.
Comment 9 philipp.lohmann 2005-01-25 16:09:03 UTC
actually the missing fractions should be inserted by font fallback; but it may
be that the fallback font does not contain the fractions either ?

assigning to hdu for investigation
Comment 10 hdu@apache.org 2005-01-25 16:19:49 UTC
Ok, so the original problem is solved by using the proper font. There are two
remaining issues:
- why didn't glyph fallback work for the fractions
- should we implement "auto glyph fallback", i.e. converting e.g. U+00BE (a.k.a
3/4 fracture) into '3','/','4'
Comment 11 lohmaier 2005-01-29 22:20:32 UTC
- why didn't glyph fallback work for the fractions

the question should be 
"why did glyph fallback work for display, but not for PDF-export

- should we implement "auto glyph fallback", i.e. converting e.g. U+00BE (a.k.a
3/4 fracture) into '3','/','4'

please don't. If the characters are not available, warn the user instead. (Like
you can warn the user when hidden text/notes are exported).
Comment 12 Marcus 2017-05-20 11:29:28 UTC
Reset assigne to the default "issues@openoffice.apache.org".