# this is the text which will end up within readme.pdf, when processed
# by readme.php.
#
# the syntax being used is fairly obvious:
#
# a line starting with '#' is a comment or a directive
# 1
is a first level heading (text is 'title')
# 2 is a second level heading (text is 'heading')
#
# the table of contents is automatically generated from the titles and headings.
#
# "#NP" starts a new page
# "#C" starts a code section (put this on a line by itself
# "#c" end the code section
# "#X" and "#x" surround a block which will be executed as php code.
#
# can be used within the text with gleeful abandon
#
# a link can be added within the text using label
1
This class is designed to provide a non-module, non-commercial alternative to dynamically creating pdf documents from within PHP. Obviously this will not be quite as quick as the module alternatives, but it is surprisingly fast, this demonstration page is almost a worst case due to the large number of fonts which are displayed. There are a number of features which can be within a Pdf document that it is not at the moment possible to use with this class, but I feel that it is useful enough to be released.
This document describes the possible useful calls to the class, the readme.php file (which will create this pdf) should be sufficient as an introduction.
Note that this document was generated using the demo script 'readme.php' which came with this package.
1
3<0.12.49>
- fixed issue #113
3<0.12.48>
- possible fix for #104 allowing addTextWrap to again wrap line break
3<0.12.47>
- fixed issue #105
3<0.12.46>
- applied PR #103 and fixed background repeater
3<0.12.45>
- clean up some code in 'addText' and 'getDirectives' method
- corrected callback coordinates on unicode fonts
- fixed possible issues with full justification
- use proper tempPath on windows by default
- fixed ttf font program not properly shown (unicode subset)
- fixed pager position (centered)
3<0.12.44>
- replaced each() method for PHP 7.2 compatibility reason #96
- applied PR #98
Please refer to https://github.com/rospdf/pdf-php for all previous changes
#NP
1