X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fdevices%2Fpdf.c;h=c1e1bb64e0eee053050085e2458101d963948dae;hb=1f86ebaac605b62901bd103b1f23b53979acc5a4;hp=4d223c8d15c7b4a110ecefa945f109922a9e4ad7;hpb=0e9d27093c3e6e8e316fbc08bb9d422d74da2fd1;p=swftools.git diff --git a/lib/devices/pdf.c b/lib/devices/pdf.c index 4d223c8..c1e1bb6 100644 --- a/lib/devices/pdf.c +++ b/lib/devices/pdf.c @@ -205,9 +205,9 @@ void pdf_drawchar(gfxdevice_t*dev, gfxfont_t*font, int glyphnr, gfxcolor_t*color char as_shape = 0; if(!type3) as_shape=1; if(glyphnr>256-32) as_shape=1; - gfxmatrix_dump(matrix, stdout, ""); if(fabs(matrix->m00 + matrix->m11) > 0.01) as_shape=1; if(fabs(fabs(matrix->m01) + fabs(matrix->m10)) > 0.01) as_shape=1; + if(fabs(matrix->m00) < 0.01) as_shape=1; if(as_shape) { gfxline_t*line2 = gfxline_clone(glyph->line);