mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix linux build error.
This commit is contained in:
parent
7401cd0aeb
commit
be41c203ac
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ impl FontHandleMethods for FontHandle {
|
|||
let average_advance = self.glyph_index('0')
|
||||
.and_then(|idx| self.glyph_h_advance(idx))
|
||||
.map(|advance| self.font_units_to_au(advance))
|
||||
.unwrap_or(max_advance_width);
|
||||
.unwrap_or(max_advance);
|
||||
|
||||
let metrics = FontMetrics {
|
||||
underline_size: underline_size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue