Fix compilation with new cosmic_text
This commit is contained in:
parent
f50640794d
commit
1c037f0a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -1411,7 +1411,7 @@ impl Application for App {
|
|||
let mut font_system = font_system().write().unwrap();
|
||||
let attrs = monospace_attrs();
|
||||
for face in font_system.raw().db().faces() {
|
||||
if attrs.matches(face) && face.monospaced {
|
||||
if face.style == attrs.style && face.stretch == attrs.stretch && face.monospaced {
|
||||
//TODO: get localized name if possible
|
||||
let font_name = face
|
||||
.families
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue