-
- Downloads
[FIX] web_editor: properly convert fonts to images
export_icon_to_png sometimes failed because PIL's getbbox returned None.
This fixes it by not using a default color of (0, 0, 0, 0) when creating
the image but using the actual color of the image instead.
Also, the size of the image was wrong because of using the default size
when width and height are defined.
task-2761098
closes odoo/odoo#84565
Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
Please register or sign in to comment