# Changelog

### 0.27.5

2026-03-26

#### Fixed

* Fixed border-width keyword not working as intended.

### 0.27.4

2026-03-09

#### Fixed

* Fixed issue in Open Font Layout engine for the Mark Glyph Sets table.

### 0.27.3

2026-02-10

#### Fixed

* Fixed Arabic shaping engine.

### 0.27.2

2026-01-20

#### Added

* Support PHP 8.5
* Added Date/DateTime Form fields

#### Fixed

* Fixed text-align-last on forced line breaks

### 0.27.1

2025-06-01

#### Fixed

* Use intl ext for thai line breaking

### 0.27.0

2025-05-29

#### Added

* Support for hyphenation for Thai.

**Breaking Changes**

If you use Thai script, check your results. Consider enabling [hyphenation](https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens) if you have long text.&#x20;

### 0.26.28

2025-05-13

#### Added

* Support for Thai Script.

### 0.26.27

2025-04-28

#### Fixed

* Fix UTF16-String encoding issue that could cause corrupted PDF files .

### 0.26.26

2025-03-20

#### Fixed

* Fix xmp record for ZUGFeRD&#x20;

### 0.26.24

2025-03-05

#### Fixed

* Certain Glyph IDs may be encoded incorrectly in specific use cases, resulting in disappearing text.&#x20;

### 0.26.23

2025-02-21

#### Fixed

* Support fallback font for Thai script.
* Fix deprecation warnings in php84.

### 0.26.22

2024-09-17

#### Fixed

* Collapse margin dimension failed on some edge cases.

### 0.26.21

2024-09-12

#### Fixed

* Collapse margin dimension failed on some edge cases.

### 0.26.20

2024-09-06

#### Fixed

* Table Layout - Work around for [PHP/OPcache](https://github.com/php/php-src/issues/15773)[ issue](https://github.com/php/php-src/issues/15773).

### 0.26.18

2024-09-03

#### Fixed

* Table Layout - Updated Auto Column Distribution Algorithm.&#x20;
* Fix bonding box issue preventing InDesign import.

### 0.26.7

2024-03-18

#### Fixed

* SVG - Don't fail on missing offset entry on \<stop> element.
* CSS - Fix a number of minor parsing errors when working with invalid css.

### 0.26.6

2024-03-15

#### Fixed

* PDF - Incorrect Size value for cross reference streams.

### 0.26.5

2024-03-14

#### Fixed

* CSS - Allow usage of first, start and last for multiple running elements.

### 0.26.4

2024-03-13

#### Fixed

* PDF - Add missing mark info to catalog dictionary for accessibility validation.

### 0.26.3

2024-03-07

#### Fixed

* SVG - Rending multiple text elements is super slow
* SVG - Text vertical alignment is not quite correct

### 0.26.2

2024-02-28

#### Fixed

* CSS - Text align with no value crashes rendering

### 0.26.0

2024-02-19&#x20;

#### Added

* SVG Support for text and tspan elements

#### Fixed

* SVG - Stroke Width of 1px should be default  :warning:
* SVG - Render anchor groups

### 0.25.0

2024-01-30

#### Added

* New save handler for ZUGFeRD XML attachment
* Basic support for object-fit and object-position

#### Fixed

* Incorrect ISO un/coated ICC profiles names
* Use Coated FOGRA51 as default for X4 :warning:
* Possible div-by-zero issue in table layout
* Percentage height not computed correctly for flex items

### 0.24.10

2023-08-09

#### Fixed

* Allow color-space --ts-seperate in SVG context.

### 0.24.9

2023-05-22

#### Fixed

* Form checkbox/radio remove widget border.
* CSS `rgb()` func allow without comma and add alpha support `rgb(r g b / a)`.

### 0.24.8

2023-05-20

#### Fixed

* Do not escape binary data when using STDOUT in the phar file.

### 0.24.7

2023-05-17

#### Added

* CSS property to controll the layout of radio and checkboxes.

  <pre class="language-css" data-full-width="false"><code class="lang-css">-typesetsh-button-style: checkbox|radio;
  </code></pre>
* Support PDF JavaScript. (WIP)

### 0.24.6

2023-05-15

#### Fixed

* Log and propagate exceptions from computing CSS properties.

### 0.24.5

2023-05-12

#### Fixed

* Flex Layout - Avoid inside control not respected. :warning:
* Flex Layout - Not all items rendered between pages breaks in some scenarios.

#### Added

* Support for signature field. (\<input type="signature" />)

### 0.24.4

2023-04-24

#### Fixed

* Checkbox always checked by default.

#### Added

* Support for signature field. (\<input type="signature" />)

### 0.24.3

2023-04-17

#### Fixed

* Radio buttons not working correctly.
* Form field values not proper encoded to support UTF8.

### 0.24.2

2023-04-14

#### Added

* Support for select and data-list form fields.

### 0.24.1

2023-04-07

#### Fixed

* Table Layout - RTL column sorting for header and footer rows.

### 0.24.0    &#x20;

*2023-04-06*

#### Breaking Changes

* Check your tables if you use RTL writing mode.

#### Fixed

* Table Layout - Column sorting in right to left writing mode was wrong.

### 0.23.12&#x20;

*2023-02-23*

#### Added

* CSS - Parsing support for :host selector that caused issues with font-awesome.
* CSS - Support additional CSS page sizes.

### 0.23.11

*2023-02-13*

#### Fixed

* Inline - Line-breaks inside nested inline element

### 0.23.10

*2023-02-11*

#### Fixed

* OpenType - Pair adjustment format 2 reader.
* Snft - Recursive read composite glyph.

### 0.23.9&#x20;

*2023-02-09*

#### Fixed

* SVG - Zero size cause division by zero crash.
* SVG - CSS dimensions for size caused error.

### 0.23.8

*2023-01-31*

#### Fixed

* PHP 7.4 issue.
* Fix selector specificity for attribute and pseudo classes.
* Add tokenizer packing and unpacking functions.

#### Added

* CSS custom variables support.
* :root CSS selector.

### 0.23.7

*2023-01-24*

#### Fixed

* Kerning and xAdvanced adjustment issue

### 0.23.6

*2023-01-19*

#### Fixed

* Text-decoration missing marked content

### 0.23.5

*2023-01-17*

#### Fixed

* Auto assign form name if none is set.
* Tailing offset issue on glyph renderer.
* OS2MetricsWriter version type.

### 0.23.4

*2023-01-03*

#### Added

* Support font variant CSS properties

### 0.23.3

*2022-12-22*

#### Fixed

* File scheme uri resolver.

#### Added

* Add page iteration and fix page() method.

### 0.23.2

*2022-12-21*

#### Fixed

* Possible endless loop on malformed tables.

#### Added

* PdfMerger helper class.

### 0.23.1

*2023-12-15*

#### Fixed

* Font selector issue when using phar.

### 0.23.0

*2022-12-15*

#### Changed

* Extract CJK Noto font to seprate package so it can be repaced.

#### Added

* Support for profile-color space.
* Support for lab color space.

### 0.22.5

*2022-12-11*

#### Added

* Support for color -ts-separation
* Allow modifying page and pages counter in at-page rule

### 0.22.4

*2022-11-30*

#### Added

* CFF - Support Koren by default

#### Fixed

* CFF - Charset list may be string or int due to array-key

### 0.22.3

*2022-11-22*

#### Fixed

* Cleanup FormattingContext

#### Changed

* SVG - Refactor parser
* SVG - Refactor rendering
* SVG use static cache for linear gradient sample functions

#### Added

* Allow PDF import page number (`src="..pdf#2"`)
* Allow nested baseline shif

### 0.22.2

*2022-10-27*

#### Fixed

* Layout Table run prepare cycle
* &#x20;twice

### 0.22.1

*2022-10-23*

#### Fixed

* Merge conflict debugger output
