[freetype-py] r81 committed - Removed the weird |= (in favor of +=)

0 views
Skip to first unread message

freet...@googlecode.com

unread,
Feb 20, 2013, 8:03:13 AM2/20/13
to Nicolas...@inria.fr
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

Reply all
Reply to author
Forward
0 new messages