mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Replace deprecated function from example as per bug #20521
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112358 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f21c0b3dd7
commit
00cdc7615c
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<reference id="ref.pdf">
|
||||
<title>PDF functions </title>
|
||||
<titleabbrev>PDF</titleabbrev>
|
||||
|
@ -266,7 +266,8 @@ pdf_set_info($pdf, "Creator", "See Author");
|
|||
pdf_set_info($pdf, "Subject", "Testing");
|
||||
pdf_begin_page($pdf, 595, 842);
|
||||
pdf_add_outline($pdf, "Page 1");
|
||||
pdf_set_font($pdf, "Times-Roman", 30, "host");
|
||||
$font = pdf_findfont($pdf, "Times New Roman", "winansi", 1);
|
||||
pdf_setfont($pdf, $font, 10);
|
||||
pdf_set_value($pdf, "textrendering", 1);
|
||||
pdf_show_xy($pdf, "Times Roman outlined", 50, 750);
|
||||
pdf_moveto($pdf, 50, 740);
|
||||
|
|
Loading…
Reference in a new issue