diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-01-20 20:37:45 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-01-20 20:37:45 +1030 |
commit | cbcf962da267c519c73dce3cb25afc8c983e1f5b (patch) | |
tree | ba8c24351becafc5ba4bd971037aa753a1124567 /src/cairo-misc.c | |
parent | 2c557d7ceac792bff21d946b288f6fc2d54cb73a (diff) | |
download | cairo-cbcf962da267c519c73dce3cb25afc8c983e1f5b.tar.gz |
svg-font: return SVG_FONT_ERROR on error
Diffstat (limited to 'src/cairo-misc.c')
-rw-r--r-- | src/cairo-misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-misc.c b/src/cairo-misc.c index 7ac0e8d05..6f6f9937e 100644 --- a/src/cairo-misc.c +++ b/src/cairo-misc.c @@ -176,6 +176,8 @@ cairo_status_to_string (cairo_status_t status) return "invalid tag name, attributes, or nesting"; case CAIRO_STATUS_DWRITE_ERROR: return "Window Direct Write error"; + case CAIRO_STATUS_SVG_FONT_ERROR: + return "error occured while rendering an OpenType-SVG font"; default: case CAIRO_STATUS_LAST_STATUS: return "<unknown error status>"; |