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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Chih-Hsuan Yen (yan12125)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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!

Loading...