FS#61017 - [python-buildbot-badges] SVG badges render improperly without ttf-dejavu
Attached to Project:
Community Packages
Opened by Daniel Moch (djmoch) - Monday, 10 December 2018, 11:23 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Monday, 10 December 2018, 12:42 GMT
Opened by Daniel Moch (djmoch) - Monday, 10 December 2018, 11:23 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Monday, 10 December 2018, 12:42 GMT
|
Details
Description: If the font face used to render the SVG badges
is not available server-side, then the sizing is messed up.
By default the plugin uses DejaVu Sans to render text.
Recommend including ttf-dejavu as an optional dependency.
Additional info: * package version: 1.6.0-1 * Sample good (with ttf-dejavu installed) and bad (without ttf-dejavu) images are attached Steps to reproduce: - Install buildbot and python-buildbot-badges, but NOT ttf-dejavu - Run a build so that the result can be rendered as a badge - Access the badge at http://<buildbotURL>/badges/<buildername>.svg |
This task depends upon
Closed by Chih-Hsuan Yen (yan12125)
Monday, 10 December 2018, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: python-buildbot-badges 1.6.0-2
Thanks for the report and sample images!
Monday, 10 December 2018, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: python-buildbot-badges 1.6.0-2
Thanks for the report and sample images!