Revision: 81
Author: Nicolas.Rougier
Date: Wed Feb 20 05:02:59 2013
Log: Removed the weird |= (in favor of +=)
http://code.google.com/p/freetype-py/source/detail?r=81
Modified:
/trunk/examples/hello-world.py
=======================================
--- /trunk/examples/hello-world.py Sun May 15 23:34:41 2011
+++ /trunk/examples/hello-world.py Wed Feb 20 05:02:59 2013
@@ -44,7 +44,7 @@
y = height-baseline-top
kerning = face.get_kerning(previous, c)
x += (kerning.x >> 6)
- Z[y:y+h,x:x+w] |= numpy.array(bitmap.buffer).reshape(h,w)
+ Z[y:y+h,x:x+w] += numpy.array(bitmap.buffer).reshape(h,w)
x += (slot.advance.x >> 6)
previous = c