When loading a font with capitalized extension, the corect entry is added to dompdf_font_family_cache, and the correct .afm file is created also. The font face files are copied to lib/fonts also, preserving the capitalised extension. In the generated file the text apears with Helvetica with the font metrics of the loaded font (the kerning is strange with some letter pairs overlaping and extra space between others). After changing manualy the font extensions from TTF to ttf in lib/fonts everything works as expected. I am using dompdf 0.5.1 on CentOS 4/PHP 5.2