fixed segfault
authorMatthias Kramm <kramm@quiss.org>
Sat, 13 Mar 2010 01:09:50 +0000 (17:09 -0800)
committerMatthias Kramm <kramm@quiss.org>
Sat, 13 Mar 2010 01:09:50 +0000 (17:09 -0800)
lib/pdf/InfoOutputDev.cc

index e0fc2e3..bd1a0b5 100644 (file)
@@ -176,8 +176,6 @@ static gfxfont_t* createGfxFont(FontInfo*src)
            gfxglyph_t*glyph = &font->glyphs[font->num_glyphs];
            src->glyphs[t]->glyphid = font->num_glyphs;
            glyph->unicode = src->glyphs[t]->unicode;
-           if(glyph->unicode >= font->max_unicode)
-               font->max_unicode = glyph->unicode+1;
            gfxdrawer_t drawer;
            gfxdrawer_target_gfxline(&drawer);
            int s;