glyph-brush
glyph-brush copied to clipboard
Fast GPU cached text rendering
Hello (again ;-) ), We are face to an issue to draw our underline text. Based on [GlyphCruncher](https://docs.rs/glyph_brush/latest/glyph_brush/trait.GlyphCruncher.html) it's possible to retrieve character position. But in case of: ``` some...
Currently a `GlyphBrush` should call `process_queued` once per frame for the caching system to work properly. Multiple draws can be handled with multiple `GlyphBrush` each drawing once per frame. We...
Hey Alex! I have an issue in my project related to RTL support and I think that I cannot do anything myself from the rendering point of view because it...
https://download.copr.fedorainfracloud.org/results/remilauzier/zemeroth/fedora-rawhide-x86_64/03258887-rust-glyph_brush_layout/builder-live.log.gz error: couldn't read src/../../fonts/DejaVuSansMono.ttf: No such file or directory (os error 2) --> src/builtin.rs:382:33 | 382 | FontRef::try_from_slice(include_bytes!("../../fonts/DejaVuSansMono.ttf")).unwrap() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro...
Hi, It seems that there is an issue with wasm / wasm-pack when using the latest crates.io ```glyph_brush 0.7.3``` The following rust wasm compile errors are generated after calling wasm-pack...
https://github.com/alexheretic/ab-glyph/issues/50 font CooperHewitt-Book.otf glyphs clip outside of font ascender/descender vbounds. This means the top line (for default layout) glyphs may clip too. This can be fixed by using the font...
Accroding to doc: https://docs.rs/glyph_brush/0.7.2/glyph_brush/struct.Section.html#structfield.screen_position, screen position is in pixels from top-left. Defaults to (0, 0). But in fact it's only true when the layout config in section is horizon: left,...
As the title says tabs in text seem to be completely ignored, at least that's the behaviour I observe in ggez. To reproduce run [the text example](https://github.com/ggez/ggez/blob/master/examples/text.rs) of ggez and...
Is there a chance that the layouting could allow adjusting the [tracking](https://indesignskills.com/tutorials/letter-spacing-tracking-typography/) (changing glyph spacing after kerning) and line height? I guess I can try adjusting those by scaling X/Y...
Context: A multi-line text input or a text editor - the text in question is rarely stored as a `&'a str`, because such a representation is inefficient for insert operations....