X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fdevices%2Fswf.c;h=25598606a7d2a2273fc355f27e61bfa5575c0248;hb=44ea6868c89dc150533a36361a7d76ac461278fb;hp=1abc540d62033f50eb89c32bc444f084cd7d782b;hpb=483357a827efabc1f0d3e5df1e4297fad2a0436b;p=swftools.git diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 1abc540..2559860 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -1975,9 +1975,7 @@ int swf_setparameter(gfxdevice_t*dev, const char*name, const char*value) i->config_linkcolor.a = NIBBLE(value[6])<<4 | NIBBLE(value[7]); } else if(!strcmp(name, "help")) { printf("\nSWF layer options:\n"); - printf("jpegdpi= resolution adjustment for jpeg images\n"); printf("jpegsubpixels= resolution adjustment for jpeg images (same as jpegdpi, but in pixels)\n"); - printf("ppmdpi= resolution adjustment for lossless images\n"); printf("ppmsubpixels= shortcut for setting both jpegsubpixels and ppmsubpixels\n"); printf("drawonlyshapes convert everything to shapes (currently broken)\n"); @@ -2825,6 +2823,9 @@ static void swf_drawchar(gfxdevice_t*dev, gfxfont_t*font, int glyph, gfxcolor_t* msg(" Moving character origin to %f %f\n", matrix->tx, matrix->ty); endtext(dev); setfontscale(dev, matrix->m00, matrix->m01, matrix->m10, matrix->m11, matrix->tx, matrix->ty, 1); + /* since we just moved the char origin to the current char's position, + it now has the relative position (0,0) */ + x = y = 0; } if(i->shapeid>=0)