From 169606602b6990d21db687b8bcf854b353913ce3 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 7 Jun 2000 19:44:47 +0000 Subject: [PATCH] - more removal of obsolete pdflib functions, but no changes to the php api --- ext/pdf/pdf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 506476c0c1..a24083d5c7 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -720,7 +720,7 @@ PHP_FUNCTION(pdf_get_font) { RETURN_FALSE; } - font = PDF_get_font(pdf); + font = (int) PDF_get_value(pdf, "font"); RETURN_LONG(font); } @@ -747,7 +747,7 @@ PHP_FUNCTION(pdf_get_fontname) { RETURN_FALSE; } - fontname = (char *) PDF_get_fontname(pdf); + fontname = (char *) PDF_get_parameter(pdf, "fontname"); RETURN_STRING(fontname, 1); } @@ -774,7 +774,7 @@ PHP_FUNCTION(pdf_get_fontsize) { RETURN_FALSE; } - fontsize = PDF_get_fontsize(pdf); + fontsize = PDF_get_value(pdf, "fontsize"); RETURN_DOUBLE(fontsize); } -- 2.50.1