Fix some typos (#16623)

This PR fixes some typos I found in the source code.

Release Notes:

- N/A
This commit is contained in:
Cherry 2024-08-21 14:33:19 -07:00 committed by GitHub
parent 406d3b413d
commit feab1261c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 17 deletions

View file

@ -301,7 +301,7 @@ impl DirectWriteState {
continue;
};
if fonts.GetFontCount() == 0 {
log::error!("No mathcing font find for {}", family_name);
log::error!("No matching font found for {}", family_name);
continue;
}
let font = fonts.GetFontFaceReference(0)?.CreateFontFace()?;