You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2018/08/13 17:43:42 UTC

[Issue 127849] New: OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

https://bz.apache.org/ooo/show_bug.cgi?id=127849

          Issue ID: 127849
        Issue Type: DEFECT
           Summary: OpenOffice Writer starting from 4.1.2 fails to export
                    to PDF some characters written with URW Palladio L
                    font
           Product: Writer
           Version: 4.1.2
          Hardware: PC
                OS: Linux 32-bit
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: cezary.kruk@poczta.wp.pl
  Target Milestone: ---

Created attachment 86483
  --> https://bz.apache.org/ooo/attachment.cgi?id=86483&action=edit
Invalid PDF file exported from OpenOffice Writer 4.1.2

At least OpenOffice Writer 4.1.2 and 4.1.5 fail to export to PDF some
characters written with Type1 URW Palladio L font provided with
ghostscript-fonts-std package. This problem does not appear in OpenOffice
Writer 4.1.1. 

The affected characters are at least: Polish L and l stroke (Ł and ł), French
AE and ae ligatures (Æ and æ), English opening quotation mark (“), Polish
opening quotation mark („), English and Polish closing quotation mark (”),
n-dash (–), and apostrophe (').

Since Bugzilla allows to attach just one file I am attaching invalid PDF file
exported from OpenOffice Writer 4.1.2.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #4 from c.kruk <ce...@poczta.wp.pl> ---
Created attachment 86485
  --> https://bz.apache.org/ooo/attachment.cgi?id=86485&action=edit
Source ODT file using URW Paladio L font

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bz.apache.org/ooo/s
                   |                            |how_bug.cgi?id=126883

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #5 from c.kruk <ce...@poczta.wp.pl> ---
I can also attach ZIP file including URW Palladio L font if it will be useful:

p052003l.afm
p052003l.pfb
p052004l.afm
p052004l.pfb
p052023l.afm
p052023l.pfb
p052024l.afm
p052024l.pfb
s050000l.afm
s050000l.pfb

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needmoreinfo                |regression

--- Comment #15 from Matthias Seidel <ms...@apache.org> ---
Further tests with AOO 4.1.1 on Ubuntu 16.04 32-bit shows correct export as
PDF.

So this is a regression with Postscript fonts.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

Keith N. McKenna <kn...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |knmc@apache.org

--- Comment #2 from Keith N. McKenna <kn...@apache.org> ---
(In reply to c.kruk from comment #0)
> Created attachment 86483 [details]
> Invalid PDF file exported from OpenOffice Writer 4.1.2
> 
> At least OpenOffice Writer 4.1.2 and 4.1.5 fail to export to PDF some
> characters written with Type1 URW Palladio L font provided with
> ghostscript-fonts-std package. This problem does not appear in OpenOffice
> Writer 4.1.1. 
> 
> The affected characters are at least: Polish L and l stroke (Ł and ł),
> French AE and ae ligatures (Æ and æ), English opening quotation mark (“),
> Polish opening quotation mark („), English and Polish closing quotation mark
> (”), n-dash (–), and apostrophe (').
> 
> Since Bugzilla allows to attach just one file I am attaching invalid PDF
> file exported from OpenOffice Writer 4.1.2.

You can attach more than one document to an issue, you just have to do each
with a separate command. If you could attach the odt file that was used to
generate export of the PDF you attached it would be appreciated.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #18 from c.kruk <ce...@poczta.wp.pl> ---
I checked valid and invalid PDFs using pdffonts program. They differ in
encoding. Valid ones use Builtin encoding while invalid ones use WinAnsi one.
It seems I found the culprit.

$ pdffonts URW_Palladio_L-OpenOffice_4.1.1.pdf 
name                                 type              encoding         emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
URWPalladioL-Bold                    Type 1            Builtin          yes no 
yes     19  0
URWPalladioL-Roma                    Type 1            Builtin          yes no 
yes     24  0
URWPalladioL-Ital                    Type 1            Builtin          yes no 
yes      9  0
URWPalladioL-BoldItal                Type 1            Builtin          yes no 
yes     14  0

$ pdffonts URW_Palladio_L-OpenOffice_4.1.2.pdf 
name                                 type              encoding         emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
URWPalladioL-Bold                    Type 1            WinAnsi          yes no 
yes     19  0
URWPalladioL-Roma                    Type 1            WinAnsi          yes no 
yes     24  0
URWPalladioL-Ital                    Type 1            WinAnsi          yes no 
yes      9  0
URWPalladioL-BoldItal                Type 1            WinAnsi          yes no 
yes     14  0

$ pdffonts URW_Palladio_L-OpenOffice_4.1.5.pdf 
name                                 type              encoding         emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
URWPalladioL-Bold                    Type 1            WinAnsi          yes no 
yes     19  0
URWPalladioL-Roma                    Type 1            WinAnsi          yes no 
yes     24  0
URWPalladioL-Ital                    Type 1            WinAnsi          yes no 
yes      9  0
URWPalladioL-BoldItal                Type 1            WinAnsi          yes no 
yes     14  0

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #1 from c.kruk <ce...@poczta.wp.pl> ---
Valid text in PDF file should look like:

oŁołoÆoæo“o„o”o–o'o

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #8 from oooforum (fr) <oo...@free.fr> ---
Created attachment 86490
  --> https://bz.apache.org/ooo/attachment.cgi?id=86490&action=edit
Animated GIF

I was not able to reproduce with AOO 4.1.5 and Win7
PDF displays URW Palladio L font as expected

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #14 from Matthias Seidel <ms...@apache.org> ---
You may have found a workaround, but the problem isn't solved... ;-)

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #19 from c.kruk <ce...@poczta.wp.pl> ---
Here is the output of pdffonts program for PDF file exported from OpenOffice
Writer 4.1.5 using URW Palladio L font which I converted from Type1 to
TrueType. It uses WinAnsi encoding, has set `yes' flag for subset, and differs
in the number of included objects. 

$ pdffonts URW_Palladio_L-Type1-to-TrueType.pdf 
name                                 type              encoding         emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
BAAAAA+URWPalladioL-Bold             TrueType          WinAnsi          yes yes
yes     14  0
CAAAAA+URWPalladioL-Roma             TrueType          WinAnsi          yes yes
yes      9  0
DAAAAA+URWPalladioL-Ital             TrueType          WinAnsi          yes yes
yes     19  0
EAAAAA+URWPalladioL-BoldItal         TrueType          WinAnsi          yes yes
yes     24  0

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #13 from c.kruk <ce...@poczta.wp.pl> ---
Matthias Seidel,

well, I mentioned that this problem concerns Type1 version of URW Palladio L
font in the very first post. 

Now I followed your tip:

1. I converted Type1 version of URW Palladio L font to TrueType one using
FontForge.

2. I removed from the system Type1 version and installed TrueType one.

3. I tested custom TrueType URW Palladio L font with all mentioned OpenOffice
versions.

Result: In each case OpenOffice Writer exported URW Palladio L font to PFD
files well.

So Linux users should use TrueType version of this font instead of Type1 one.

Thank you very much for this tip.

Problem solved.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #9 from c.kruk <ce...@poczta.wp.pl> ---
I use Slackware Linux 14.2 with OpenOffice converted to Slackware format from
the following packages:

Apache_OpenOffice_4.1.1_Linux_x86_install-rpm_en-US.tar.gz
Apache_OpenOffice_4.1.2_Linux_x86_install-rpm_en-US.tar.gz
Apache_OpenOffice_4.1.5_Linux_x86_install-rpm_en-US.tar.gz

I believe someone here uses some Linux and could try to reproduce this using
OpenOffice installed from the mentioned packages.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #7 from c.kruk <ce...@poczta.wp.pl> ---
Created attachment 86489
  --> https://bz.apache.org/ooo/attachment.cgi?id=86489&action=edit
Invalid PDF file exported from OpenOffice Writer 4.1.5

PDF file exported from version 4.1.5 is exactly the same as exported from
version 4.1.2. I attached both PDFs.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #3 from c.kruk <ce...@poczta.wp.pl> ---
Created attachment 86484
  --> https://bz.apache.org/ooo/attachment.cgi?id=86484&action=edit
Valid PDF file exported from OpenOffice Writer 4.1.1

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

oooforum (fr) <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #6 from oooforum (fr) <oo...@free.fr> ---
Please add PDF file exported from OpenOffice 4.1.5 too

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #11 from c.kruk <ce...@poczta.wp.pl> ---
oooforum (fr),

I overlooked that you attached an animated GIF and inspected just the first
frame. Now I see that OpenOffice for Windows exports Writer files using URW
Palladio L font to PDF files well. So the problem concerning exporting to PDF
files occurs in Linux version of OpenOffice but it does not affect Windows
version.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #17 from Matthias Seidel <ms...@apache.org> ---
You're welcome.
Great that we found a way for you.

There was a code change between 4.1.1 and 4.1.2:
https://bz.apache.org/ooo/show_bug.cgi?id=126883#c13

Hopefully a programmer can take over!?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Latest|---                         |4.1.5
    Confirmation in|                            |
                 CC|                            |mseidel@apache.org
                 OS|Linux 32-bit                |Linux, all
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #12 from Matthias Seidel <ms...@apache.org> ---
Confirmed on Ubuntu 16.04.5 64-bit.

"URW Palladio L" is a Postscript Type 1 font (at least on Linux), using a
Truetype font results in correct export.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #16 from c.kruk <ce...@poczta.wp.pl> ---
Matthias Seidel,

you are right: my problem is solved -- OpenOffice problem is not. OpenOffice
Writer supported Type1 URW Paladio L font well up to version 4.1.1 but starting
from version 4.1.2 it started to produce bad results in PDF files. The font did
not change. The ghostscript-fonts-std package provides the same font since
2002. So something changed in OpenOffice.

Anyway, thank you very much once again for your tip.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127849] OpenOffice Writer starting from 4.1.2 fails to export to PDF some characters written with URW Palladio L font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127849

--- Comment #10 from c.kruk <ce...@poczta.wp.pl> ---
oooforum (fr),

you attached a screenshot of OpenOffice Writer with opened my attachment.
OpenOffice Writer displays URW Palladio L font well. The problem appears in
exported PDF files. So you have to export this document to PDF using OpenOffice
4.1.2 or later and then inspect this PDF file.

-- 
You are receiving this mail because:
You are the assignee for the issue.