Skip to content

Commit

Permalink
it seems that spaces isn't allowed in resource path for native targets
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeevPavel committed Oct 29, 2024
1 parent 83da902 commit 50a7438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ParagraphTest {
private val fontCollection = suspend {
FontCollection().setDefaultFontManager(TypefaceFontProvider().apply {
registerTypeface(Typeface.makeFromResource("./fonts/Inter-Hinted-Regular.ttf"), "Inter")
registerTypeface(Typeface.makeFromResource("./fonts/JetBrains Mono 2_304/JetBrainsMono-Regular.ttf"), "JetBrains Mono")
registerTypeface(Typeface.makeFromResource("./fonts/JetBrainsMono_2_304/JetBrainsMono-Regular.ttf"), "JetBrains Mono")
})
}
private val style = ParagraphStyle().apply {
Expand Down

0 comments on commit 50a7438

Please sign in to comment.