Revision: 7381
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7381&view=rev
Author: evilguru
Date: 2009-08-05 16:05:38 +0000 (Wed, 05 Aug 2009)
Log Message:
-----------
Fix an off-by-one error in FT2Font. This is based off of r14 in mathtex.
Modified Paths:
--------------
branches/mathtex/src/ft2font.cpp
Modified: branches/mathtex/src/ft2font.cpp
===================================================================
--- branches/mathtex/src/ft2font.cpp 2009-08-05 15:59:24 UTC (rev 7380)
+++ branches/mathtex/src/ft2font.cpp 2009-08-05 16:05:38 UTC (rev 7381)
@@ -206,7 +206,7 @@
y1 = std::min(y1, _height);
for (size_t j=y0; j<y1+1; j++) {
- for (size_t i=x0; i<x1+1; i++) {
+ for (size_t i=x0; i<x1; i++) {
_buffer[i + j*_width] = 255;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins