X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpdf%2FInfoOutputDev.cc;fp=lib%2Fpdf%2FInfoOutputDev.cc;h=bd1a0b587993b3788dfbc56dcdd8c5e0f9257bed;hp=e0fc2e3ac306a0adbc0f273b1bf44f284d13a97d;hb=a1f5318b0789743bbc6d8e93d408379115c67534;hpb=9d29b25fe674ceacbdf4b7beaba2c0cc3405dbc6 diff --git a/lib/pdf/InfoOutputDev.cc b/lib/pdf/InfoOutputDev.cc index e0fc2e3..bd1a0b5 100644 --- a/lib/pdf/InfoOutputDev.cc +++ b/lib/pdf/InfoOutputDev.cc @@ -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;