Skip to content

Commit 2a7178f

Browse files
Update lib.rs
1 parent 2e9444a commit 2a7178f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rust/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,21 +267,21 @@ fn svg_to_bytes(
267267
}
268268
};
269269

270-
if !cfg!(any(target_os ="windows",target_os="macos")) {
270+
if !cfg!(any(target_os ="windows", target_os="macos")) {
271271
font_family = none_or_take(font_family, "Times New Roman");
272272
serif_family = none_or_take(serif_family, "Times New Roman");
273273
sans_serif_family = none_or_take(sans_serif_family, "Arial");
274274
cursive_family = none_or_take(cursive_family, "Comic Sans MS");
275275
fantasy_family = none_or_take(fantasy_family, "Impact");
276276
monospace_family = none_or_take(monospace_family, "Courier New");
277-
}else if cfg!(target_os="linux") {
277+
} else if cfg!(target_os="linux") {
278278
font_family = none_or_take(font_family, "Liberation Serif");
279279
serif_family = none_or_take(serif_family, "Liberation Serif");
280280
sans_serif_family = none_or_take(sans_serif_family, "Liberation Sans");
281281
cursive_family = none_or_take(cursive_family, "Comic Neue");
282282
fantasy_family = none_or_take(fantasy_family, "Anton");
283283
monospace_family = none_or_take(monospace_family, "Liberation Mono");
284-
}else{
284+
} else{
285285
panic!("Unsupported operating system")
286286
}
287287

0 commit comments

Comments
 (0)