dompdf/dompdf — pull request #617 by TeckniX (2013-04-09 21:13:11+00:00)
Title: Added font name save name

When new fonts are added, they are saved as md5 names - To provide a nicer name for organization, the register_font function can be passed a friendly local_name that will be cleaned of spaces and invalid characters, for local save.

A matching change would be made in the www/controller.php, to have the uploaded file's name passed to the register function: (line 64)

`if (!Font_Metrics::register_font($style_arr, $data["tmp_name"][$name], $data["name"][$name])) {`