mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Fix strange indentation
This commit is contained in:
parent
46776e1974
commit
7716c2bc2f
1 changed files with 6 additions and 6 deletions
|
@ -478,12 +478,12 @@ impl Font {
|
|||
}
|
||||
|
||||
pub fn glyph_h_advance(&mut self, glyph: GlyphIndex) -> FractionalPixel {
|
||||
do self.glyph_advance_cache.find_or_create(&glyph) |glyph| {
|
||||
match self.handle.glyph_h_advance(*glyph) {
|
||||
Some(adv) => adv,
|
||||
None => /* FIXME: Need fallback strategy */ 10f as FractionalPixel
|
||||
}
|
||||
}
|
||||
do self.glyph_advance_cache.find_or_create(&glyph) |glyph| {
|
||||
match self.handle.glyph_h_advance(*glyph) {
|
||||
Some(adv) => adv,
|
||||
None => /* FIXME: Need fallback strategy */ 10f as FractionalPixel
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue