diff --git a/addons/web_editor/controllers/main.py b/addons/web_editor/controllers/main.py index f72adff467c..411eb3f0482 100644 --- a/addons/web_editor/controllers/main.py +++ b/addons/web_editor/controllers/main.py @@ -85,6 +85,11 @@ class Web_Editor(http.Controller): :returns PNG image converted from given font """ + # For custom icons, use the corresponding custom font + if icon.isdigit(): + if int(icon) == 57467: + font = "/web/static/fonts/tiktok_only.woff" + size = max(width, height, 1) if width else size width = width or size height = height or size diff --git a/doc/cla/corporate/acsone.md b/doc/cla/corporate/acsone.md index 90d46d7a86d..f135056e49d 100644 --- a/doc/cla/corporate/acsone.md +++ b/doc/cla/corporate/acsone.md @@ -35,3 +35,4 @@ Xavier Bouquiaux xavier.bouquiaux@acsone.eu https://github.com/xavier-bouquiaux Maxime Franco maxime.franco@acsone.eu https://github.com/FrancoMaxime Marie Lejeune marie.lejeune@acsone.eu https://github.com/marielejeune Justine Doutreloux justine.doutreloux@acsone.eu https://github.com/jdoutreloux +Laurent Stukkens laurent.stukkens@acsone.eu https://github.com/it-ideas