Commit 4d4735dc authored by Philip Withnall's avatar Philip Withnall Committed by Richard Hughes
Browse files

po/make-images: Drop unnecessary fontmap



This was causing problems building on Jessie, and turns out to be unused
anyway:
   AttributeError: 'gi.repository.PangoCairo' object has no attribute 'font_map_get_default'

Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>
parent 706f700d
......@@ -56,7 +56,6 @@ class Rasterizer:
self.domain = "fwupd"
self.font_face = "sans-serif"
self.pattern = "{directory}/{language}/LC_IMAGES/fwupd-{width}-{height}.{suffix}"
self.fontmap = PangoCairo.font_map_get_default()
gettext.textdomain(self.domain)
gettext.bind_textdomain_codeset(self.domain, 'UTF8')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment