tagged heading together with a table which comes immediately after it.
'use_kwt' => false,
// Set to TRUE to use table Head iteration counter
'iterationCounter' => false,
// Use table border (using this width in mm) when table breaks across pages
// Recommended to use small value e.g. 0.01
'splitTableBorderWidth' => 0,
// Allowed characters for text alignment on decimal marks. Additional codes must start with D
// DM - middot U+00B7
// DA - arabic decimal mark U+066B
'decimal_align' => ['DP' => '.', 'DC' => ',', 'DM' => "\xc2\xb7", 'DA' => "\xd9\xab", 'DD' => '-'],
// IMAGES
// if image-rendering=='auto', this defines value for image-rendering
// if true, image interpolation shall be performed by a conforming reader
'interpolateImages' => false,
// Default dpi to output images if size not defined
// See also above "dpi"
'img_dpi' => 96,
// Specify whitelisted PHP streams to be used for images
// Useful to add custom streams like `s3`
// Note: for security reasons the `phar` stream cannot be used @see https://github.com/mpdf/mpdf/issues/949
'whitelistStreamWrappers' => ['http', 'https', 'file'],
// TEXT SPACING & JUSTIFICATION
// Specify whether kerning should be used when CSS font-kerning="auto" used for HTML,
// Also whether kerning should be used in any direct writing e.g. $mpdf->Text(),
'useKerning' => false,
// In justified text,
does not cause the preceding text to be justified in browsers
// Change to true to force justification (as in MS Word)
'justifyB4br' => false,
// Number of spaces to replace for a TAB in sections
// Notepad uses 6, HTML specification recommends 8
'tabSpaces' => 8,
// Proportion (/1) of space (when justifying margins) to allocate to Word vs. Character
'jSWord' => 0.4,
// Maximum spacing to allocate to character spacing. (0' => no maximum)
'jSmaxChar' => 2,
// Maximum character spacing allowed (carried over) when finishing a last line
'jSmaxCharLast' => 1,
// Maximum word spacing allowed (carried over) when finishing a last line
'jSmaxWordLast' => 2,
// LINE SPACING & TEXT BASELINE
// Use the fixed factor ('normalLineheight') when line-height:normal
// Compatible with mPDF versions < 6
'useFixedNormalLineHeight' => false,
// Use a fixed ratio ('baselineC') to set the text baseline
// Compatible with mPDF versions < 6
'useFixedTextBaseline' => false,
// Default Value used for line-height when CSS specified as 'normal' (default)
'normalLineheight' => 1.33,
// Correction factor applied to lineheight values derived from 'win', 'mac', 'winTypo'
'adjustFontDescLineheight' => 1.14,
// Small Caps
// Factor of 1 to scale capital letters
'smCapsScale' => 0.75,
// % to stretch small caps horizontally (i.e. 100' => no stretch)
'smCapsStretch' => 110,
// Line-breaking
// The alternative to these next 2 is the use of U+200B Zero-width space
// These are only effective if using OTL for the fonts
// Use the dictionaries to determine line-breaking in Lao, Khmer and Thai
'useDictionaryLBR' => true,
// Use the inbuilt algorithm to determine line-breaking in Tibetan
'useTibetanLBR' => true,
// CJK Line-breaking
// FALSE=always wrap to next line, TRUE=squeeze or overflow
'allowCJKorphans' => true,
// FALSE=squeeze, TRUE=overflow (only some characters, and disabled in tables)
'allowCJKoverflow' => false,
// Forces overflowng punctuation to hang outside right margin mPDF 5.6.40
'CJKforceend' => false,
// COLUMNS
'keepColumns' => false, // Set to go to the second column only when the first is full of text etc.
'max_colH_correction' => 1.15, // Maximum ratio to adjust column height when justifying - too large a value can give ugly results
'ColGap' => 5,
// LISTS
// mPDF 6
// 'mpdf' or 'browser' - Specify whether to use mPDF custom method of automatic
'list_auto_mode' => 'browser',
// indentation of lists, or standard browser-compatible
// custom mPDF method is ignored if list-style-position: inside, or image used for marker (or custom U+)
// List Indentation when set to 'auto' if using standard browser-compatible method
'list_indent_default' => '40px',
// List Indentation when set to 'auto' if using mPDF custom method
'list_indent_default_mpdf' => '0em',
// 1/0 yes/no to indent first level of list, if using mPDF custom method
'list_indent_first_level' => 0,
// Content to follow a numbered list marker e.g. '.' gives 1. or IV., ')' gives 1) or a)
'list_number_suffix' => '.',
// To specify a bullet size and offset proportional to the list item's font size:
// Browsers use a fixed bullet size and offset
// Offset (CSS length) of list marker bullets (disc/circle/square)
'list_marker_offset' => '5.5pt',
// Size (CSS) of list marker bullets (disc/circle/square)
'list_symbol_size' => '3.6pt',
// Hyphenation
'SHYlanguages' => ['en', 'de', 'es', 'fi', 'fr', 'it', 'nl', 'pl', 'ru', 'sv'], // existing defined patterns
'SHYlang' => "en", // 'en','de','es','fi','fr','it','nl','pl','ru','sv'
'SHYleftmin' => 2,
'SHYrightmin' => 2,
'SHYcharmin' => 2,
'SHYcharmax' => 10,
// ACTIVE FORMS
'useActiveForms' => false,
// WATERMARKS
'watermarkImgBehind' => false,
'showWatermarkText' => 0,
'showWatermarkImage' => 0,
'watermarkText' => '',
'watermarkAngle' => 45,
'watermarkImage' => '',
'watermark_font' => '',
'watermarkTextAlpha' => 0.2,
'watermarkImageAlpha' => 0.2,
// Accepts any PDF spec. value: Normal, Multiply, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion
// "Multiply" works well for watermark image on top
'watermarkImgAlphaBlend' => 'Normal',
// BORDERS
'autoPadding' => false, // Automatically increases padding in block elements when border-radius set - if required
// SVG
// If you wish to use Automatic Font selection within SVG's. change this definition to true.
// This selects different fonts for different scripts used in text.
// This can be enabled/disabled independently of the use of Automatic Font selection within mPDF generally.
// Choice of font is determined by the LangToFont and ScriptToLang classes, the same as for mPDF generally.
'svgAutoFont' => false,
// Enable a limited use of classes within SVG elements by setting this to true.
// This allows recognition of a "class" attribute on a element.
// The CSS style for that class should be outside the SVG, and cannot use any other selectors (i.e. only .class {} can be defined)
//