Page MenuHomePhabricator

Install 'ttf-ubuntu-font-family' on clusters rendering SVG to PNG
Closed, ResolvedPublic

Description

Author: wikipedia

Description:
Various SVG diagrams use fonts from the 'Ubuntu' typeface as the font in their labels. These are currently substituted for other fonts at the moment.

The Wikimedia instances on Wikipedia/Commons (eg. upload.wikimedia.org) that generate PNGs previews of the SVG files do not have these fonts installed.

This can likely be solved with a simple:

sudo apt-get install ttf-ubuntu-font-family

on the relevant clusters.


Version: unspecified
Severity: enhancement

Details

Reference
bz30288

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:57 PM
bzimport set Reference to bz30288.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Various SVG diagrams use fonts from the 'Ubuntu' typeface as the font in their
labels. These are currently substituted for other fonts at the moment.

The Wikimedia instances on Wikipedia/Commons (eg. upload.wikimedia.org) that
generate PNGs previews of the SVG files do not have these fonts installed.

This can likely be solved with a simple:

sudo apt-get install ttf-ubuntu-font-family

on the relevant clusters.

Not quite, but something like that puppetised.

Tagging +ops

jeluf wrote:

I've added the package to the puppet configuration. It can take a few hours until all image scalers have updated their configuration.