mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +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 {
|
pub fn glyph_h_advance(&mut self, glyph: GlyphIndex) -> FractionalPixel {
|
||||||
do self.glyph_advance_cache.find_or_create(&glyph) |glyph| {
|
do self.glyph_advance_cache.find_or_create(&glyph) |glyph| {
|
||||||
match self.handle.glyph_h_advance(*glyph) {
|
match self.handle.glyph_h_advance(*glyph) {
|
||||||
Some(adv) => adv,
|
Some(adv) => adv,
|
||||||
None => /* FIXME: Need fallback strategy */ 10f as FractionalPixel
|
None => /* FIXME: Need fallback strategy */ 10f as FractionalPixel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue