dompdf / php-font-lib

A library to read, parse, export and make subsets of different types of font files.
GNU Lesser General Public License v2.1
1.74k stars 255 forks source link

Enable read/write tables in raw mode when not managed #135

Open bsweeney opened 9 months ago

bsweeney commented 9 months ago

The default table handling logic for non-managed (within php-font-lib) tables should be to read/write the table in raw mode. Table::parse and Table::encode have logic to read/write the table in "raw" mode if the table structure ($def) is not defined. However, that logic is currently disabled because not all managed tables have a $def.

_Originally posted by @bsweeney in https://github.com/dompdf/php-font-lib/pull/115#discussion_r1359884195_