Author: pfg
Date: Sat Oct 15 22:04:47 2016
New Revision: 1765111

URL: http://svn.apache.org/viewvc?rev=1765111&view=rev
Log:
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

Modified:
    openoffice/trunk/main/vcl/source/fontsubset/cff.cxx

Modified: openoffice/trunk/main/vcl/source/fontsubset/cff.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/fontsubset/cff.cxx?rev=1765111&r1=1765110&r2=1765111&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/fontsubset/cff.cxx (original)
+++ openoffice/trunk/main/vcl/source/fontsubset/cff.cxx Sat Oct 15 22:04:47 2016
@@ -417,7 +417,7 @@ private:
        const char**    mpCharStringOps;
        const char**    mpCharStringEscs;
 
-       CffLocal        maCffLocal[16];
+       CffLocal        maCffLocal[256];
        CffLocal*       mpCffLocal;
 
        void            readDictOp( void);


Reply via email to