diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnrtype/FontInstance.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libnrtype/FontInstance.cpp b/src/libnrtype/FontInstance.cpp index 085cc6c88..7dc8bb859 100644 --- a/src/libnrtype/FontInstance.cpp +++ b/src/libnrtype/FontInstance.cpp @@ -557,7 +557,9 @@ void font_instance::LoadGlyph(int glyph_id) break; case TT_PRIM_QSPLINE: - g_assert(polyCurve->cpfx % 2 == 0); + //g_assert(polyCurve->cpfx % 2 == 0); + if (polyCurve->cpfx % 2 != 0) return; + while ( p != endp ) { path_builder.quadTo(pointfx_to_nrpoint(p[0], scale), pointfx_to_nrpoint(p[1], scale)); |
