gfx_text icon indicating copy to clipboard operation
gfx_text copied to clipboard

Draw text for gfx using freetype

Results 10 gfx_text issues
Sort by recently updated
recently updated
newest added

Implement outline.

enhancement

See https://github.com/dylanede/rusttype > A pure Rust alternative to libraries like FreeType.

enhancement
discussion

It'd be convenient for `error_chain` purposes. I could probably write a PR if you like!

# Motivation Currently the library can't work with [complex text layout](https://en.wikipedia.org/wiki/Complex_text_layout) (ex: Arabic, Hindi, Tibetan). Hence, it is necessary to create a text shaping engine to tell how to choose...

I can't make basic usage example in the Readme.md compile. The example says: ``` // Initialize text renderer. let mut text = gfx_text::new(factory).build().unwrap(); // In render loop: // Add some...

Provide additional v120 shaders for better compatibility. See #39.

enhancement

When running the hello_world example in [turbine](https://github.com/pistondevelopers/turbine) the text is drawn at larger offset from axes when turning up the near clip distance. It seems that this should be compensated...

bug

Fit text into the given width, wrap by spaces and also correctly recognize line breaks. Was requested by @LaylConway on #rust.

enhancement

`gfx-rs` itself doesn't use any allocations on a call-by-call basis, and it would be great if `gfx_text` didn't impose this overhead either. The allocations come from the constructed meshes and...

enhancement

On retina screens, the frame buffer is twice the size of the internal window size in each direction. When one renders text, one might want to compensate for this. In...

discussion