[PEAR-BUG] Bug #18551 [Opn->WFx]: No way to create definition files for new fonts

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=18551&edit=1

 ID:               18551
 Updated by:       [email protected]
 Reported By:      ron at roncemer dot com
 Summary:          No way to create definition files for new fonts
-Status:           Open
+Status:           Wont fix
 Type:             Bug
 Package:          File_PDF
 Operating System: Fedora 14 x86_64
 Package Version:  0.3.2
 PHP Version:      5.3.6
 Roadmap Versions: 
 New Comment:

-Status: Open
+Status: Wont fix



Previous Comments:
------------------------------------------------------------------------

[2011-05-19 04:54:01] roncemer

Description:
------------
The comments for the addFont() function talk about using makefont.php. 
I assume this is 
from the FPDF project.  However, the makefont.php in the FPDF project
produces a php 
file of a totally different and incompatible format.

As a result, there is apparently no way to add new fonts to File_PDF.

Please include a working, File_PDF-compatible makefont.php, or provide
some other 
means to create the required font definition php file from any TrueType
font I wish to use.

Test script:
---------------
Not applicable.

Expected result:
----------------
Should be able to create a font definition file for any TrueType font I
can get my hands on.

Actual result:
--------------
No obvious way to create a File_PDF-compatible font definition file for
a TrueType font I 
want to use with File_PDF.  As a result, I'm stuck with using only fonts
for which File_PDF 
already includes font definition files.

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18551&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.