mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Fix comments indentation issue in gfx platform
This commit is contained in:
parent
c57c99d9f7
commit
f8d850bf38
1 changed files with 3 additions and 2 deletions
|
@ -211,6 +211,7 @@ impl FontHandleMethods for FontHandle {
|
||||||
|
|
||||||
fn boldness(&self) -> FontWeight {
|
fn boldness(&self) -> FontWeight {
|
||||||
let normalized = self.ctfont.all_traits().normalized_weight(); // [-1.0, 1.0]
|
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
|
// TODO(emilio): It may make sense to make this range [.01, 10.0], to
|
||||||
// align with css-fonts-4's range of [1, 1000].
|
// align with css-fonts-4's range of [1, 1000].
|
||||||
let normalized = if normalized <= 0.0 {
|
let normalized = if normalized <= 0.0 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue