Philipp Hörist pushed to branch master at gajim / gajim
Commits:
661c13b3 by wurstsalat at 2022-05-31T15:00:06+02:00
imprv: Windows: Change PANGOCAIRO backend to enable colored emojis
- - - - -
1 changed file:
- gajim/gtk/application.py
Changes:
=====================================
gajim/gtk/application.py
=====================================
@@ -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()
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/661c13b3051334bf216c6e50abf121a448446745
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/661c13b3051334bf216c6e50abf121a448446745
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits