ZF-5133: Zend_PDF::fontWithPath happens exception on i5/OS
Description
I find Zend_PDF::fontWithPath happens exception on i5/OS if I use TrueType font file that has Japanese in font name property.
I think getFontName() of Zend/Pdf/Resource/Font.php has some problem.
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-12-01T22:12:39.000+0000
Probably, I think this issue depends on not supported encoding on iconv.
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-25T21:44:54.000+0000
code sample
causes
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-25T21:47:03.000+0000
Zip of the OTF file.
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-06-29T00:40:22.000+0000
The problem may be specific to AIX and i5/OS.
Font name would be converted by mistake if the font name contains multibyte characters. Because you can not use UTF-16BE encoding with the AIX and i5/OS.
Posted by Satoru Yoshida (satoruyoshida) on 2009-09-17T22:56:10.000+0000
I find TCPDF library (from www.tcpdf.org) can work fine with Zend Core for i5/OS 2.0.1 . :-)
So I change the Priority from Major to Trivial.
Posted by Rob Allen (rob) on 2012-11-20T20:52:29.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.