Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rougier committed Dec 21, 2015
1 parent 85c0715 commit fea04a1
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 1 deletion.
Empty file modified examples/transform-image.py
100755 → 100644
Empty file.
Empty file modified examples/transform-linear-log-scale.py
100755 → 100644
Empty file.
Empty file modified examples/transform-linear-scale.py
100755 → 100644
Empty file.
Empty file modified examples/transform-log-polar.py
100755 → 100644
Empty file.
Empty file modified examples/transform-log-scale.py
100755 → 100644
Empty file.
Empty file modified examples/transform-ortho.py
100755 → 100644
Empty file.
Empty file modified examples/transform-pan-zoom.py
100755 → 100644
Empty file.
Empty file modified examples/transform-polar.py
100755 → 100644
Empty file.
Empty file modified examples/transform-power-scale.py
100755 → 100644
Empty file.
Empty file modified examples/transform-pvm.py
100755 → 100644
Empty file.
Empty file modified examples/transform-rotate.py
100755 → 100644
Empty file.
Empty file modified examples/transform-trackball.py
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions glumpy/gl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'OpenGL.arrays.numpymodule.NumpyHandler',[
'glumpy.gloo.buffer.VertexBuffer',
'glumpy.gloo.buffer.IndexBuffer',
'glumpy.gloo.atlas.Atlas',
'glumpy.gloo.texture.Texture2D',
'glumpy.gloo.texture.Texture1D',
'glumpy.gloo.texture.FloatTexture2D',
Expand Down
2 changes: 1 addition & 1 deletion glumpy/graphics/collections/agg_glyph_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def bake(self, text, font, anchor_x='center', anchor_y='center'):
vertices[index]['texcoord'] = (u0,v0),(u0,v1),(u1,v1),(u1,v0)
vertices[index]['offset'] = offset
indices[index] = index*4
indices[index] += 0,1,2, 0,2,3
indices[index] += np.array([0,1,2, 0,2,3], dtype=np.uint32)
pen[0] = pen[0]+glyph.advance[0]/64. + kerning
pen[1] = pen[1]+glyph.advance[1]/64.
prev = charcode
Expand Down

0 comments on commit fea04a1

Please sign in to comment.