PistonDevelopers / gfx_text

Draw text for gfx using freetype
http://docs.piston.rs/gfx_text/gfx_text/
MIT License
22 stars 12 forks source link

gfx_text renders stale characters #26

Closed ghost closed 9 years ago

ghost commented 9 years ago

Using the GPU buffer's size, rather then the soft buffer size to render will cause stale characters to be rendered if the text is concatenated. Eg Render "Hello, World" one frame, and the next "Hello" will still render "Hello, World" since the vertices are still in the frame buffer and we are telling gfx to render the entire vertex buffe.

Kagami commented 9 years ago

Thanks!

Kagami commented 9 years ago

@csherratt @kvark do you know why it doesn't build with Rust nightly on Travis?

Kagami commented 9 years ago

Seems like there was some regression. Now it builds. Publishing 0.4.1 to crates.

Kagami commented 9 years ago

Huh, it is broken again. I don't think this is gfx_text issue though.