[x] Bug fix (involves code and configuration changes)
About
Hot fix for Font.php to avoid PHP warning in case the Widths-key is not set in $details.
Checklist for code / configuration changes
In case you changed the code/configuration, please read each of the following checkboxes as they contain valuable information:
[x] Please add at least one test case (unit test, system test, ...) to demonstrate that the change is working. If existing code was changed, your tests cover these code parts as well.
By the way, you don't have to provide a full fledged PDF file to demonstrate a fix. Instead a unit test may be sufficient sometimes,
please have a look at FontTest for example code.
Code changes without any tests are likely to be rejected. If you dont know how to write tests, no problem, tell us upfront and we may add them ourselves or discuss other ways.
Type of pull request
About
Hot fix for Font.php to avoid PHP warning in case the Widths-key is not set in
$details
.Checklist for code / configuration changes
In case you changed the code/configuration, please read each of the following checkboxes as they contain valuable information:
Acknowledgement
Bug reported in #619 by @gidzr.