#3762·dompdf

"Undefined array key 32" when trying to use font without space glyph

Author: jmsfwkCreated Sep 14, 2026Updated Sep 14, 2026
Labelsfont-handling

When trying to render a PDF using Font Awesome 6 I get an exception with the message "Undefined array key 32". I'm assuming that this is because Font Awesome 6 doesn't include a space character.

PHP 8.2.30, dompdf v3.1.6