Issue 127294 - ArialMT font has Symbolic flag in PDF
Summary: ArialMT font has Symbolic flag in PDF
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 4.1.1
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: https://issues.apache.org/jira/browse...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 17:56 UTC by tilman@snafu.de
Modified: 2017-02-02 09:50 UTC (History)
2 users (show)

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


Attachments
PDF with font with incorrect flag (122.58 KB, application/pdf)
2017-01-23 17:56 UTC, tilman@snafu.de
no flags Details
ODF with font with incorrect flag (21.96 KB, application/vnd.oasis.opendocument.text)
2017-01-25 09:18 UTC, lostgirl1985
no flags Details
PDFDebugger Screenshot of exported PDF (105.50 KB, image/png)
2017-02-02 09:50 UTC, tilman@snafu.de
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tilman@snafu.de 2017-01-23 17:56:37 UTC
Created attachment 85933 [details]
PDF with font with incorrect flag

The attached PDF file was submitted to Apache PDFBox https://issues.apache.org/jira/browse/PDFBOX-3620 . It was created by OpenOffice 4.1.1. The font F10 in the acroform part (to be found at object 66 0 o, or logially at Root/AcroForm/Fields/[3]/AP/N/Resources/Font/F10, Root/AcroForm/DR/Font/F10, and others) has the flag 4 in its font descriptor. "4" means "symbolic font". This is wrong, "ArialMT" is not a symbolic font. The flag should be 32, which means it is a non symbolic font. The font flags are found in "9.8.2 Font Descriptor Flags" in the PDF 32000 description. The wrong flag results in bad rendering of the file in Apache PDFBox.

Issue 87679 seems to be a similar problem.
Comment 1 oooforum (fr) 2017-01-24 09:05:14 UTC
Please:
1) attach the original ODF document used to create this PDF
2) provide information about your operating system
3) try to test with latest build 4.1.3
Comment 2 lostgirl1985 2017-01-25 09:18:24 UTC
Created attachment 85934 [details]
ODF with font with incorrect flag
Comment 3 lostgirl1985 2017-01-25 09:22:21 UTC
I have attached the original ODF document used to create the PDF.
I downloaded open office version 4.1.3, opened the document with the new version and save it again using it. I exported it to pdf with version 4.1.3 and the same result occured.

My os is Windows 8.1 x64
Comment 4 oooforum (fr) 2017-02-02 09:22:19 UTC
I open your document and use TestFonts
http://extensions.openoffice.org/en/project/testfonts
Result: missing font with "Helvetica LT Std"
Don't see "ArialMT" inside.
Comment 5 tilman@snafu.de 2017-02-02 09:48:49 UTC
(In reply to oooforum (fr) from comment #4)
> I open your document and use TestFonts
> http://extensions.openoffice.org/en/project/testfonts
> Result: missing font with "Helvetica LT Std"
> Don't see "ArialMT" inside.

Maybe, but the PDF has it.
Comment 6 tilman@snafu.de 2017-02-02 09:50:22 UTC
Created attachment 85947 [details]
PDFDebugger Screenshot of exported PDF