mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use FontInstanceFlags::SUBPIXEL_POSITION for font instances on Windows (#33045)
Signed-off-by: crbrz <cristianb@gmail.com>
This commit is contained in:
parent
97c84b6127
commit
8f82b2a7cb
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ impl PlatformFontMethods for PlatformFont {
|
|||
}
|
||||
|
||||
fn webrender_font_instance_flags(&self) -> FontInstanceFlags {
|
||||
FontInstanceFlags::empty()
|
||||
FontInstanceFlags::SUBPIXEL_POSITION
|
||||
}
|
||||
|
||||
fn typographic_bounds(&self, glyph_id: GlyphId) -> Rect<f32> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue