Skip to content
Snippets Groups Projects
Commit 661c13b3 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

imprv: Windows: Change PANGOCAIRO backend to enable colored emojis

parent 75f5c13b
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,11 @@ def _get_remaining_entry():
return [option]
def _startup(self, _application: GajimApplication) -> None:
if sys.platform == 'win32':
# Changing the PANGOCAIRO_BACKEND is necessary on Windows
# to render colored emoji glyphs
os.environ['PANGOCAIRO_BACKEND'] = 'fontconfig'
self._init_core()
icon_theme = Gtk.IconTheme.get_default()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment