summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2010-06-05 19:38:22 -0700
committerMatthias Kramm <kramm@quiss.org>2010-06-05 19:38:22 -0700
commitaf9a0b4c2720a7890c7226e32c2738f2ada135f8 (patch)
tree7ad183d8563f0e8dcf7cf917488ab943ce2bccb0
parent792d857a0b572f027368289e754589f4111c3b8a (diff)
fix for x-mirrored text
-rw-r--r--lib/devices/swf.c2
-rw-r--r--lib/pdf/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/devices/swf.c b/lib/devices/swf.c
index bb2cf096..59a9d0cf 100644
--- a/lib/devices/swf.c
+++ b/lib/devices/swf.c
@@ -3039,7 +3039,7 @@ static void setfontscale(gfxdevice_t*dev,double m11,double m12, double m21,doubl
MATRIX m;
swf_GetMatrix(0, &m);
- if(m21 || m12 || fabs(m11+m22)>0.001) {
+ if(m21 || m12 || fabs(m11+m22)>0.001 || m11<0) {
double ifs = (double)extrazoom/(i->current_font_size);
m.sx = (S32)((m11*ifs)*65536); m.r1 = -(S32)((m21*ifs)*65536);
m.r0 = (S32)((m12*ifs)*65536); m.sy = -(S32)((m22*ifs)*65536);
diff --git a/lib/pdf/Makefile.in b/lib/pdf/Makefile.in
index 64c205d2..f91c72b6 100644
--- a/lib/pdf/Makefile.in
+++ b/lib/pdf/Makefile.in
@@ -183,7 +183,7 @@ pdfinfo$(E): $(XPDFOK) xpdf/pdfinfo.$(O) xpdf/parseargs.$(O) $(xpdf_objects)
$(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . xpdf/pdfinfo.$(O) $(xpdf_objects) xpdf/parseargs.$(O) -o pdfinfo$(E) $(LIBS)
gfx_objects = ../libgfxswf$(A) ../libgfx$(A) ../librfxswf$(A) ../libbase$(A)
-gfx_objects2 = $(gfx_objects) ../devices/lrf.$(O) ../libocr$(A)
+gfx_objects2 = $(gfx_objects) ../libocr$(A)
pdf2jpeg$(E): $(XPDFOK) pdf2jpeg.c ../libbase$(A) xpdf/parseargs.$(O) $(xpdf_objects) $(splash_objects)
$(LL) $(CPPFLAGS) -DXPDFEXE -Ixpdf -I. -g pdf2jpeg.c xpdf/parseargs.$(O) ../libbase$(A) $(xpdf_objects) $(splash_objects) -o pdf2jpeg$(E) $(LIBS)