Fix comments indentation issue in gfx platform

This commit is contained in:
kingdido999 2018-09-05 20:34:01 +08:00
parent c57c99d9f7
commit f8d850bf38

View file

@ -211,6 +211,7 @@ impl FontHandleMethods for FontHandle {
fn boldness(&self) -> FontWeight {
let normalized = self.ctfont.all_traits().normalized_weight(); // [-1.0, 1.0]
// TODO(emilio): It may make sense to make this range [.01, 10.0], to
// align with css-fonts-4's range of [1, 1000].
let normalized = if normalized <= 0.0 {