From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.2.0 PHP Bug Type: Unknown/Other Function Bug description: printer_create_font does not properly resolve regular fonts nor opentype fonts
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 bug report at http://bugs.php.net/?id=16772&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16772&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16772&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16772&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16772&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16772&r=support Expected behavior: http://bugs.php.net/fix.php?id=16772&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16772&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16772&r=submittedtwice