]> granicus.if.org Git - php/commitdiff
- fixed cpdf_set_font() error
authorUwe Steinmann <steinm@php.net>
Thu, 9 Mar 2000 14:59:05 +0000 (14:59 +0000)
committerUwe Steinmann <steinm@php.net>
Thu, 9 Mar 2000 14:59:05 +0000 (14:59 +0000)
ext/cpdf/cpdf.c

index c6d74e72480bcc79049b44e3c9109ce9a9459976..973f7ca5dc1519d306f6275ee9f6d98e0393e587 100644 (file)
@@ -800,10 +800,11 @@ PHP_FUNCTION(cpdf_set_font) {
                RETURN_FALSE;
        }
        
-       if(arg4->value.lval > 6) {
+/*     if(arg4->value.lval > 6) {
                php_error(E_WARNING,"Font encoding set to 5");
                arg4->value.lval = 5;
        }
+*/
        cpdf_setFont(pdf, arg2->value.str.val, arg4->value.str.val, (float) arg3->value.dval);
 
        RETURN_TRUE;