enable italic bold

macos-click-through
keith 5 years ago
parent 257a8ad32a
commit c972a3eacf

@ -73,10 +73,10 @@ pub fn build_collection_by_font_name(font_name: Option<&str>, bold: bool, italic
Weight::NORMAL Weight::NORMAL
}; };
let style = if !italic || bold { let style = if italic {
Style::Normal
} else {
Style::Italic Style::Italic
} else {
Style::Normal
}; };
let properties = Properties { let properties = Properties {

Loading…
Cancel
Save