vcl/source/fontsubset/cff.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 883a3068fcef1d740972095b8a005c49d39f615a
Author: Pedro Giffuni <p...@apache.org>
Date:   Sat Oct 15 22:04:47 2016 +0000

    CFF: raise FDArray count limit to 256.
    
    Per spec, the maximum for FDArray elements is 256, something that is not
    common but some people like to test the limits [1].
    
    Thanks to Audrey Tang for posting a patch under CC0 Universal declaration
    which I found by accident.
    
    [1] http://blogs.adobe.com/CCJKType/2012/05/all-unicode-cfr.html

diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 7670314..0ff9afe 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -417,7 +417,7 @@ private:
     const char**    mpCharStringOps;
     const char**    mpCharStringEscs;
 
-    CffLocal    maCffLocal[16];
+    CffLocal    maCffLocal[256];
     CffLocal*   mpCffLocal;
 
     void        readDictOp( void);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to