mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Re-port the WASM canvas font fallback onto main's new skrifa/harfrust shaping pipeline: - Add `chr` to `ShapedGlyph` and trigger the canvas fallback from `allocate_glyph` on NOTDEF (WASM only). - Drive the fallback from `text_layout`'s NOTDEF branch via `has_glyph`, so it only kicks in when no loaded font contains the character. - Update `allocate_canvas_glyph` for main's `GlyphAllocation` (uv_rect only) and `color_transfer_function` API; fix `get_image_data` f64 args. Merge the per-axis scroll fade gating into main's refactored `paint_fade_areas_impl`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GUI implementation
This is the core library crate egui. It is fully platform independent without any backend. You give the egui library input each frame (mouse pos etc), and it outputs a triangle mesh for you to paint.