diff options
| author | Uwe Steinmann <steinm@php.net> | 2000-06-07 19:44:47 +0000 |
|---|---|---|
| committer | Uwe Steinmann <steinm@php.net> | 2000-06-07 19:44:47 +0000 |
| commit | 169606602b6990d21db687b8bcf854b353913ce3 (patch) | |
| tree | 7154671985c6437487741a05631677a2a5dd9c37 | |
| parent | 01ecd47a0572c3ae2b7298ebc1fb04331c165b5f (diff) | |
| download | php-git-169606602b6990d21db687b8bcf854b353913ce3.tar.gz | |
- more removal of obsolete pdflib functions, but no changes to the php
api
| -rw-r--r-- | ext/pdf/pdf.c | 6 |
1 files 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); } |
