You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2020/06/30 14:40:34 UTC

[openoffice] branch AOO418 updated: CFF: raise FDArray count limit to 256.

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO418
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO418 by this push:
     new 971776b  CFF: raise FDArray count limit to 256.
971776b is described below

commit 971776bc74f50cdd618873d0419126920f937128
Author: pfg <pf...@13f79535-47bb-0310-9956-ffa450edef68>
AuthorDate: 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
    
    git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1765111 13f79535-47bb-0310-9956-ffa450edef68
    (cherry picked from commit 30928f5456b84e4f631e6ab589da3fe977b55cd5)
---
 main/vcl/source/fontsubset/cff.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/vcl/source/fontsubset/cff.cxx b/main/vcl/source/fontsubset/cff.cxx
index b2c5137..f17e79e 100644
--- a/main/vcl/source/fontsubset/cff.cxx
+++ b/main/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);