https://bugs.freedesktop.org/show_bug.cgi?id=84095

          Priority: medium
            Bug ID: 84095
          Assignee: [email protected]
           Summary: Broken font handling: Documents created with
                    LibreOffice Mac and LibreOffice Windows (and even
                    NeoOffice) are all incompatible
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: unspecified
         Component: Libreoffice
           Product: LibreOffice

Setting:

On a Mac and on a Windows PC I installed the the whole OpenType (OTF)
font-family of "Akzidenz-Grotesk Pro+":

Internal font-data of the font files:

font-family: "Akzidenz-Grotesk Pro"

font-styles:

* postscript-name: AkzidenzGroteskPro-Light
  full-name:       Akzidenz-Grotesk Pro Light
  style-name:      Light

* postscript-name: AkzidenzGroteskPro-Md
  full-name:       Akzidenz-Grotesk Pro Med
  style-name:      Medium

* postscript-name: AkzidenzGroteskPro-Regular
  full-name:       Akzidenz-Grotesk Pro Regular
  style-name:      Regular

* postscript-name: AkzidenzGroteskPro-It
  full-name:       Akzidenz-Grotesk Pro Italic
  style-name:      Italic

* postscript-name: AkzidenzGroteskPro-LightIt
  full-name:       Akzidenz-Grotesk Pro LightIt
  style-name:      Light Italic

* postscript-name: AkzidenzGroteskPro-MdIt
  full-name:       Akzidenz-Grotesk Pro MedItal
  style-name:      Medium Italic

* postscript-name: AkzidenzGroteskPro-Bold
  full-name:       Akzidenz-Grotesk Pro Bold
  style-name:      Bold

* postscript-name: AkzidenzGroteskPro-Super
  full-name:       Akzidenz-Grotesk Pro Super
  style-name:      Super

* postscript-name: AkzidenzGroteskPro-BoldIt
  full-name:       Akzidenz-Grotesk Pro BoldIt
  style-name:      Bold Italic

* postscript-name: AkzidenzGroteskPro-SuperItalic
  full-name:       Akzidenz-Grotesk Pro SuperIt
  style-name:      Super Italic

* postscript-name: AkzidenzGroteskPro-LightEx
  full-name:       Akzidenz-Grotesk Pro Light Ext
  style-name:      Light Extended

* postscript-name: AkzidenzGroteskPro-MdEx
  full-name:       Akzidenz-Grotesk Pro Med Ext
  style-name:      Medium Extended

* postscript-name: AkzidenzGroteskPro-Ext
  full-name:       Akzidenz-Grotesk Pro Ext
  style-name:      Regular Extended

* postscript-name: AkzidenzGroteskPro-LigExtIt
  full-name:       Akzidenz-Grotesk Pro LightExtIt
  style-name:      Light Extended Italic

* postscript-name: AkzidenzGroteskPro-MedExtIt
  full-name:       Akzidenz-Grotesk Pro MedExtIt
  style-name:      Medium Extended Italic

* postscript-name: AkzidenzGroteskPro-ExtItalic
  full-name:       Akzidenz-Grotesk Pro ExtItalic
  style-name:      Regular Extended Italic

* postscript-name: AkzidenzGroteskPro-BoldEx
  full-name:       Akzidenz-Grotesk Pro Bold Ext
  style-name:      Bold Extended

* postscript-name: AkzidenzGroteskPro-BoldExIt
  full-name:       Akzidenz-Grotesk Pro BoldExtIt
  style-name:      Bold Extended Italic

* postscript-name: AkzidenzGroteskPro-LightCn
  full-name:       Akzidenz-Grotesk Pro Light Cnd
  style-name:      Light Condensed

* postscript-name: AkzidenzGroteskPro-MdCn
  full-name:       Akzidenz-Grotesk Pro Med Cnd
  style-name:      Medium Condensed

* postscript-name: AkzidenzGroteskPro-Cn
  full-name:       Akzidenz-Grotesk Pro Cnd
  style-name:      Regular Condensed

* postscript-name: AkzidenzGroteskPro-CnIt
  full-name:       Akzidenz-Grotesk Pro CndIt
  style-name:      Condensed Italic

* postscript-name: AkzidenzGroteskPro-LightCnItalic
  full-name:       Akzidenz-Grotesk Pro LightCndIt
  style-name:      Light Condensed Italic

* postscript-name: AkzidenzGroteskPro-MdCnIt
  full-name:       Akzidenz-Grotesk Pro MedCndIt
  style-name:      Medium Condensed Italic

* postscript-name: AkzidenzGroteskPro-BoldCn
  full-name:       Akzidenz-Grotesk Pro Bold Cnd
  style-name:      Bold Condensed

* postscript-name: AkzidenzGroteskPro-XBd
  full-name:       Akzidenz-Grotesk Pro ExtraBold
  style-name:      Extra Bold

* postscript-name: AkzidenzGroteskPro-XBdCn
  full-name:       Akzidenz-Grotesk Pro XBd Cnd
  style-name:      Extra Bold Condensed

* postscript-name: AkzidenzGroteskPro-BoldCnIt
  full-name:       Akzidenz-Grotesk Pro BoldCndIt
  style-name:      Bold Condensed Italic

* postscript-name: AkzidenzGroteskPro-XBdCnIt
  full-name:       Akzidenz-Grotesk Pro XBdCndIt
  style-name:      Extra Bold Condensed Italic

* postscript-name: AkzidenzGroteskPro-XBdIt
  full-name:       Akzidenz-Grotesk Pro ExtraBldIt
  style-name:      Extra Bold Italic


Then I created a document on the Mac and opened it on Windows. LibO on Windows
showed a replacement font, although I correctly installed exactly the same font
files in both systems.

Then I created a document on Windows and opened it on the Mac: Same problem
here.

The I created a document with NeoOffice on my Mac and also this document is
compatile only with NeoOffice.

In all three ODT documents contain the text "Font test for error finding."
formatted with "Akzidenz-Grotesk Pro Light"

I upacked all three documents with a zip-extractor and opened the content.xml
in order to verify the internal font representation. I found out, that every
single one of the three progams used another representation:


*** LibreOffice 4.3.2.2 Mac – Slovene language ***

<?xml version="1.0" encoding="UTF-8"?>
<office:document-content
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML";
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:ooo="http://openoffice.org/2004/office";
xmlns:ooow="http://openoffice.org/2004/writer";
xmlns:oooc="http://openoffice.org/2004/calc";
xmlns:dom="http://www.w3.org/2001/xml-events";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:rpt="http://openoffice.org/2005/report";
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:grddl="http://www.w3.org/2003/g/data-view#";
xmlns:officeooo="http://openoffice.org/2009/office";
xmlns:tableooo="http://openoffice.org/2009/table";
xmlns:drawooo="http://openoffice.org/2010/draw";
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
xmlns:css3t="http://www.w3.org/TR/css3-text/"; office:version="1.2">
<office:scripts/>
<office:font-face-decls>
<style:font-face style:name="Akzidenz-Grotesk Pro"
svg:font-family="&apos;Akzidenz-Grotesk Pro&apos;"/>
<style:font-face style:name="Linux Libertine O" svg:font-family="&apos;Linux
Libertine O&apos;"/>
<style:font-face style:name="Lucida Sans1" svg:font-family="&apos;Lucida
Sans&apos;" style:font-family-generic="swiss"/>
<style:font-face style:name="Akzidenz-Grotesk Pro1"
svg:font-family="&apos;Akzidenz-Grotesk Pro&apos;"
style:font-adornments="Svetlo" style:font-pitch="variable"/>
<style:font-face style:name="Lucida Sans" svg:font-family="&apos;Lucida
Sans&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="SimSun" svg:font-family="SimSun"
style:font-family-generic="system" style:font-pitch="variable"/>
</office:font-face-decls>
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph"
style:parent-style-name="Standard">
<style:text-properties style:font-name="Akzidenz-Grotesk Pro1"
fo:font-weight="250" officeooo:rsid="00037d29" style:font-size-asian="10.5pt"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text>
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<text:p text:style-name="P1">Font test for error finding.</text:p>
</office:text>
</office:body>
</office:document-content>

*** LibreOffice 4.3.1.2 Windows – German language ***

<?xml version="1.0" encoding="UTF-8"?>
<office:document-content
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML";
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:ooo="http://openoffice.org/2004/office";
xmlns:ooow="http://openoffice.org/2004/writer";
xmlns:oooc="http://openoffice.org/2004/calc";
xmlns:dom="http://www.w3.org/2001/xml-events";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:rpt="http://openoffice.org/2005/report";
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:grddl="http://www.w3.org/2003/g/data-view#";
xmlns:officeooo="http://openoffice.org/2009/office";
xmlns:tableooo="http://openoffice.org/2009/table";
xmlns:drawooo="http://openoffice.org/2010/draw";
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
xmlns:css3t="http://www.w3.org/TR/css3-text/"; office:version="1.2">
<office:scripts/>
<office:font-face-decls>
<style:font-face style:name="Mangal1" svg:font-family="Mangal"/>
<style:font-face style:name="Akzidenz-Grotesk Pro Light"
svg:font-family="&apos;Akzidenz-Grotesk Pro Light&apos;"
style:font-adornments="Light" style:font-family-generic="modern"
style:font-pitch="variable"/>
<style:font-face style:name="Liberation Serif"
svg:font-family="&apos;Liberation Serif&apos;"
style:font-family-generic="roman" style:font-pitch="variable"/>
<style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation
Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
<style:font-face style:name="Mangal" svg:font-family="Mangal"
style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="Microsoft YaHei" svg:font-family="&apos;Microsoft
YaHei&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="SimSun" svg:font-family="SimSun"
style:font-family-generic="system" style:font-pitch="variable"/>
</office:font-face-decls>
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph"
style:parent-style-name="Standard">
<style:text-properties style:font-name="Akzidenz-Grotesk Pro Light"
fo:font-weight="250" officeooo:rsid="001209ef"
officeooo:paragraph-rsid="001209ef" style:font-size-asian="10.5pt"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text>
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<text:p text:style-name="P1">Font test for error finding.</text:p>
</office:text>
</office:body>
</office:document-content>

*** NeoOffice 3.4.1 – English language***

<?xml version="1.0" encoding="UTF-8"?>
<office:document-content
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
xmlns:math="http://www.w3.org/1998/Math/MathML";
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
xmlns:ooo="http://openoffice.org/2004/office";
xmlns:ooow="http://openoffice.org/2004/writer";
xmlns:oooc="http://openoffice.org/2004/calc";
xmlns:dom="http://www.w3.org/2001/xml-events";
xmlns:xforms="http://www.w3.org/2002/xforms";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:rpt="http://openoffice.org/2005/report";
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
xmlns:rdfa="http://docs.oasis-open.org/opendocument/meta/rdfa#";
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
office:version="1.2">
<office:scripts/>
<office:font-face-decls>
<style:font-face style:name="Akzidenz-Grotesk Pro"
svg:font-family="&apos;Akzidenz-Grotesk Pro&apos;"/>
<style:font-face style:name="Linux Libertine O" svg:font-family="&apos;Linux
Libertine O&apos;"/>
<style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/>
<style:font-face style:name="Akzidenz-Grotesk Pro Light"
svg:font-family="&apos;Akzidenz-Grotesk Pro Light&apos;"
style:font-family-generic="swiss" style:font-pitch="variable"/>
<style:font-face style:name="Arial" svg:font-family="Arial"
style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="MS Mincho" svg:font-family="&apos;MS Mincho&apos;"
style:font-family-generic="system" style:font-pitch="variable"/>
<style:font-face style:name="Tahoma" svg:font-family="Tahoma"
style:font-family-generic="system" style:font-pitch="variable"/>
</office:font-face-decls>
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph"
style:parent-style-name="Standard">
<style:text-properties style:font-name="Akzidenz-Grotesk Pro Light"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text>
<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<text:p text:style-name="P1">Font test for error finding.</text:p>
</office:text>
</office:body>
</office:document-content>


*** Conclusion ***

The font represantion of LibreOffice Mac differs from LibreOffice Windows as
well as both differ from NeoOffice. Thus documents created with LibreOffice Mac
can neither be used with LibreOffice Windows nor with NeoOffice and vice versa.
The font handling of all three programs is incompatible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to