Brian Sweeney

Results 59 issues of Brian Sweeney

Elements that have natural dimensions (image, symbol) do not render correctly if a height and width are not specified. Add support for auto height/width for these elements.

Currently, in order to specify a custom font you have to: 1. specify the path to the font file (using "/" for directory separators) without the file extension 2. the...

enhancement

For the document information dictionary properties CPDF is limited to the following properties: - Title - Author - Subject - Keywords - Creator - Producer - CreationDate - ModDate -...

enhancement

``` php load_font.php 'Droid' DroidSansFallback.ttf ``` Then the script escaped my single quotes. And according to the instruction, I shouldn't have added the single quotes. per dompdf/dompdf#1508

- Add data URI to the default list of allowed protocols

- Continue rendering when stylesheet parsing fails - Modify internal Stylesheet handling of data URIs - Improve semi-colon detection during property parsing

Per section [8.2.4.1](https://www.w3.org/TR/2014/REC-html5-20141028/syntax.html#data-state) of spec version 20141028: > Parse error. Switch to the data state. Emit a U+003C LESS-THAN SIGN character token. Reconsume the current input character. Note: the 20141028...

The height of an element with a height defined in percent (e.g. 80%) is based on the height of the current page and not on the height of the element's...

css
layout

Reproducible in 0.8.1 with the following code sample: ``` wat ``` Source: https://groups.google.com/d/topic/dompdf/pv_IvlO3Qcw/discussion

When running with PHP master (currently 7.4 dev) the following warning may be thrown: > preg_match(): JIT compilation failed: no more memory Where preg_match could be any PCRE function. So...

bug