Use subpixel glyph positioning and layout linearity
... for offsetting and scaling text
This commit is contained in:
parent
8ae4e28013
commit
5bc7cbf5bc
10 changed files with 47 additions and 108 deletions
|
|
@ -21,12 +21,6 @@ macro_rules! delegate {
|
|||
};
|
||||
}
|
||||
|
||||
impl iced_graphics::Backend for Backend {
|
||||
fn trim_measurements(&mut self) {
|
||||
delegate!(self, backend, backend.trim_measurements());
|
||||
}
|
||||
}
|
||||
|
||||
impl backend::Text for Backend {
|
||||
const ICON_FONT: Font = Font::with_name("Iced-Icons");
|
||||
const CHECKMARK_ICON: char = '\u{f00c}';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue