mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Change windows font metrics
This commit is contained in:
parent
bb54f0a429
commit
cf911cef28
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ impl FontHandleMethods for FontHandle {
|
|||
descent: au_from_du_s(dm.descent as i32),
|
||||
max_advance: au_from_pt(0.0), // FIXME
|
||||
average_advance: au_from_pt(0.0), // FIXME
|
||||
line_gap: au_from_du(dm.lineGap as i32),
|
||||
line_gap: au_from_du((dm.ascent + dm.descent + dm.lineGap as u16) as i32),
|
||||
};
|
||||
debug!("Font metrics (@{} pt): {:?}", self.em_size * 12., metrics);
|
||||
metrics
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue