hecrj / wgpu_glyph

A fast text renderer for wgpu (https://github.com/gfx-rs/wgpu)
https://docs.rs/wgpu_glyph
MIT License
443 stars 77 forks source link

Typo in docs #45

Closed kanjiwar closed 3 years ago

kanjiwar commented 4 years ago

https://docs.rs/wgpu_glyph/0.9.0/wgpu_glyph/struct.Text.html

scale: PxScale
Position on screen to render text, in pixels from top-left. Defaults to (0, 0).
hecrj commented 3 years ago

Fixed in glyph-brush 0.7.1. Related commit: https://github.com/alexheretic/glyph-brush/commit/e695543fe93d2ca7385f5ef7653a9cc8d9cd0258