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 2014/08/05 20:18:46 UTC

[Issue 125359] New: [PATCH] PDF Export crashes for Source Han Sans / Noto CJK fonts

https://issues.apache.org/ooo/show_bug.cgi?id=125359

          Issue ID: 125359
        Issue Type: DEFECT
           Summary: [PATCH] PDF Export crashes for Source Han Sans / Noto
                    CJK fonts
           Product: General
           Version: 4.2.0-dev
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: audreyt@audreyt.org

Created attachment 83778
  --> https://issues.apache.org/ooo/attachment.cgi?id=83778&action=edit
Patch to cff.cxx

Steps to reproduce:

1. Download and install Source Han Sans:
http://sourceforge.net/adobe/source-han-sans/wiki/Home/

Or: Noto T Chinese / Noto S Chinese / Noto Japanese from:

http://www.google.com/get/noto/

They are the same font.

2. New Writer or Impress file, type in any text, and apply the above font from
font dropdown list.

3. Export to PDF.
--> Crashes.

The attached patch fixes this issue as explained by @kenlunde, main coordinator
of Source Han Sans CJK at
https://github.com/adobe-fonts/source-han-sans/issues/27#issuecomment-51055950
:

Source Han Sans (and thus Noto Sans CJK) include 19 FDArray elements. The
maximum number of FDArray elements is 256. For testing fodder, please grab one
or most fonts that are provided in the following CJK Type Blog article that
@kenlunde published over two years ago:
http://blogs.adobe.com/CCJKType/2012/05/all-unicode-cfr.html

The same patch has been vetted and applied as a hot-fix in LibreOffice at
https://bugs.freedesktop.org/show_bug.cgi?id=81516#c14 .

As for copyright status of the patch, here is my standard disclaimer:

To the extent possible under law, I waive all copyright and related or
neighboring rights to my past & future contributions to OpenOffice.

http://creativecommons.org/publicdomain/zero/1.0

Cheers,
Audrey

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

[Issue 125359] PDF Export crashes for Source Han Sans / Noto CJK fonts

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

Audrey Tang <au...@audreyt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Developer|---                         |easy
         Difficulty|                            |

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

[Issue 125359] PDF Export crashes for Source Han Sans / Noto CJK fonts

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

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |hdu@apache.org
     Ever confirmed|0                           |1

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Already reproducible with 3.3.

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

[Issue 125359] PDF Export crashes for Source Han Sans / Noto CJK fonts

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

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 83779
  --> https://issues.apache.org/ooo/attachment.cgi?id=83779&action=edit
GDB backtrace

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

[Issue 125359] [PATCH] PDF Export crashes for Source Han Sans / Noto CJK fonts

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

Audrey Tang <au...@audreyt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83778|0                           |1
           is patch|                            |

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

[Issue 125359] PDF Export crashes for Source Han Sans / Noto CJK fonts

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

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |crash
             Latest|---                         |4.2.0-dev
    Confirmation on|                            |
            Version|4.2.0-dev                   |OOo 3.3 or older
            Summary|[PATCH] PDF Export crashes  |PDF Export crashes for
                   |for Source Han Sans / Noto  |Source Han Sans / Noto CJK
                   |CJK fonts                   |fonts

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