Calculate an overshoot when mousing to build columnar selections
This commit is contained in:
parent
2b9db911c7
commit
d19d3bbe45
6 changed files with 66 additions and 22 deletions
|
@ -148,6 +148,7 @@ pub trait FontSystem: Send + Sync {
|
|||
) -> anyhow::Result<FontId>;
|
||||
fn font_metrics(&self, font_id: FontId) -> FontMetrics;
|
||||
fn typographic_bounds(&self, font_id: FontId, glyph_id: GlyphId) -> anyhow::Result<RectF>;
|
||||
fn advance(&self, font_id: FontId, glyph_id: GlyphId) -> anyhow::Result<Vector2F>;
|
||||
fn glyph_for_char(&self, font_id: FontId, ch: char) -> Option<GlyphId>;
|
||||
fn rasterize_glyph(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue