diff options
| author | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2014-08-21 03:51:20 +1200 |
|---|---|---|
| committer | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2014-08-21 03:51:20 +1200 |
| commit | b8b947ffa4ea0f5c8152cabaefa779512385e6cd (patch) | |
| tree | 976a9a14be328b9d60c1ece61102e82acca610d0 /addons/website/static/src/js | |
| parent | 24347d235c56e63bcbf5742776c3478c23c384ae (diff) | |
[IMP] catch & warn about any TTFontFile exception
It turns out TTFontFile can throw not only TTFError (generic) and KeyError, but also ValueError (unknown cmap) and maybe others.
Just catch Exception, warn that the font couldn't be loaded and report why.
Diffstat (limited to 'addons/website/static/src/js')
0 files changed, 0 insertions, 0 deletions
