[poppler] poppler/poppler: ArthurOutputDev.cc,1.6,1.7

Brad Hards bradh at freedesktop.org
Mon Aug 1 18:09:02 EST 2005


Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv19120/poppler

Modified Files:
	ArthurOutputDev.cc 
Log Message:
Fix up the fill problem with drawing text, where the "middle" of glyphs
with a "hole" (like d, o, p, b, g) got filled. Also remove some debugging
code. The glyphs are still ugly though.


Index: ArthurOutputDev.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/ArthurOutputDev.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ArthurOutputDev.cc	31 Jul 2005 09:54:04 -0000	1.6
+++ ArthurOutputDev.cc	1 Aug 2005 08:09:00 -0000	1.7
@@ -536,21 +536,10 @@
 	  qPath.lineTo(x0+fontPath->pts[i].x, y0+fontPath->pts[i].y);
 	}
 	if (fontPath->flags[i] & splashPathLast) {
-	  // change this around to just show the outline in black
-#if 1
-	  m_painter->drawPath( qPath );
-#else
-	  m_painter->save();
-	  m_painter->setBrush(QBrush(Qt::NoBrush));
-	  QPen thisPen(m_painter->pen());
-	  thisPen.setWidth(0);
-	  m_painter->setPen(thisPen);
 	  qPath.closeSubpath();
-	  m_painter->drawPath( qPath );
-	  m_painter->restore();
-#endif
 	}
       }
+      m_painter->drawPath( qPath );
     }
   }
 



More information about the poppler mailing list