| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
Software
Haru PDF FunctionsEinführungThe PECL/haru extension provides bindings for Haru Free PDF Library - free, cross platform, opensource software library for generating PDF files. You can find the library here: » http://libharu.sourceforge.net. Warnung
Diese Erweiterung ist EXPERIMENTELL. Das Verhalten dieser Erweiterung, einschließlich der Funktionsnamen, und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Erweiterung auf eigenes Risiko. AnforderungenYou need to install libharu first to be able to use PECL/haru. PECL/haru is tested with libharu 2.0.8, older versions might or might not work for you. PECL/haru also requires PHP 5.1.3 or newer. InstallationZusätzliche Informationen, wie neue Releases, Downloads Quelldateien, Maintainerinformation und ein CHANGELOG finden Sie hier: » http://pecl.php.net/package/haru. The latest PECL/haru Win32 DLL can be downloaded here: » php_haru.dll. Laufzeit KonfigurationDiese Erweiterung definiert keine Konfigurationseinstellungen in der php.ini. Beispiele
Example#1 Basic PECL/haru example
<?phpOpen the result document in your favourite PDF viewer and you should see a light-blue rectangle and white "Hello World!" on it. Vordefinierte KlassenBuiltin Fonts And EncodingsBuiltin FontsThese Base14 fonts are built-in into PDF and all viewers can display them. Using these fonts may decrease the size of the result file and make the processing faster, avoiding loading external fonts. However the fonts support only latin1 character set and you have to load external fonts if you need to use an other character set. The Base14 fonts:
Builtin Encodings
Inhaltsverzeichnis
|