Wayland fractional scaling (#7961)
This PR adds support for fractional scaling on Wayland. Release Notes: - N/A
This commit is contained in:
parent
4e1e26b696
commit
bd137b01ad
4 changed files with 91 additions and 21 deletions
|
@ -276,7 +276,7 @@ impl LinuxTextSystemState {
|
|||
CacheKey::new(
|
||||
font.id(),
|
||||
params.glyph_id.0 as u16,
|
||||
params.font_size.into(),
|
||||
(params.font_size * params.scale_factor).into(),
|
||||
(0.0, 0.0),
|
||||
)
|
||||
.0,
|
||||
|
@ -308,7 +308,7 @@ impl LinuxTextSystemState {
|
|||
CacheKey::new(
|
||||
font.id(),
|
||||
params.glyph_id.0 as u16,
|
||||
params.font_size.into(),
|
||||
(params.font_size * params.scale_factor).into(),
|
||||
(0.0, 0.0),
|
||||
)
|
||||
.0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue