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:\Intranet\C\xampp\php\PEAR\fpdf\doc\ drwxrwxrwx |
Viewing file: setfont.htm (3.35 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | SetFontSetFont(string family [, string style [, float size]])Version1.0DescriptionSets 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 Windows encoding cp1252 (Western Europe). The method can be called before the first page is created and the font is retained from page to page. If you just wish to change the current font size, it is simpler to call SetFontSize(). Note: the font metric files must be accessible. They are searched successively in:
If the file corresponding to the requested font is not found, the error "Could not include font metric file" is issued. ParametersfamilyFamily font. It can be either a name defined by AddFont() or one of the standard families (case insensitive):style Font style. Possible values are (case insensitive):size Font size in points. 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.0312 ]-- |