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: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2017-09-22 10:01:27 +01:00 committed by Mario Limonciello
parent 48a164657e
commit 9aa0f8680c

View File

@ -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')