#16772 [Opn->Sus]: printer_create_font does not properly resolve regular fonts nor opentype fonts

From: Date: Fri, 20 Dec 2002 05:18:49 +0000
Subject: #16772 [Opn->Sus]: printer_create_font does not properly resolve regular fonts nor opentype fonts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28074@lists.php.net to get a copy of this message
 ID:               16772
 Updated by:       iliaa@php.net
 Reported By:      alfredreibenschuh@gmx.net
-Status:           Open
+Status:           Suspended
 Bug Type:         Unknown/Other Function
 Operating System: Windows 2000
 PHP Version:      4.2.0
 New Comment:

Appears to be an abandoned PECL extension.


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

[2002-04-23 18:10:43] alfredreibenschuh@gmx.net

OSes: Windows 2000 Professional / SP1 (English and German)
PHP: php 4.2.0 binary zip (non-install) from php.net
Fonts: all windows standard fonts are in opentype format (Arial, Times,
etc.)
     used custom fonts are in truetype format

$font =
printer_create_font('Arial',20,0,PRINTER_FW_REGULER,false,false,0)
does not give 'Arial' but some unknown serif type
this also happens with any installed opentype font !

given the installed fonts 'PaxSans', 'PaxSans Italic', 'PaxSans Bold'
and 'PaxSans Bold Italic' 
$font =
printer_create_font('PaxSans',20,0,PRINTER_FW_REGULER,false,false,0)
will resolve to 'PaxSans Italic' rather than 'PaxSans'


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


-- 
Edit this bug report at http://bugs.php.net/?id=16772&edit=1



Thread (3 messages)

« previous php.bugs (#28074) next »