Skip to content

Commit

Permalink
remove double COLRv1 from font name
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Apr 10, 2024
1 parent 5ad1429 commit d19ba8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1926,9 +1926,9 @@ private fun MainAppStart()
// HINT: use a patched font that noto color emoji with regular chars like numbers and spaces removed
// this will show emojis in texts but use the default font as fallback for anything that is not an emoji
DefaultFont = FontFamily(
Font(resource = "fonts/Noto-COLRv1-COLRv1_normal_chars_removed.ttf", FontWeight.Normal, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1-COLRv1_normal_chars_removed.ttf", FontWeight.SemiBold, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1-COLRv1_normal_chars_removed.ttf", FontWeight.Bold, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1_normal_chars_removed.ttf", FontWeight.Normal, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1_normal_chars_removed.ttf", FontWeight.SemiBold, FontStyle.Normal),
Font(resource = "fonts/Noto-COLRv1_normal_chars_removed.ttf", FontWeight.Bold, FontStyle.Normal),
// Font(resource = "fonts/NotoSans-Regular.ttf", FontWeight.Normal, FontStyle.Normal),
// Font(resource = "fonts/NotoSans-SemiBold.ttf", FontWeight.SemiBold, FontStyle.Normal),
// Font(resource = "fonts/NotoSans-SemiBold.ttf", FontWeight.Bold, FontStyle.Normal),
Expand Down

0 comments on commit d19ba8e

Please sign in to comment.