mayojava
11/12/2020, 10:01 AMSe7eN
11/12/2020, 10:27 AMresource
directory and use them like this:
val JosefinSans = fontFamily(
font(alias = "JosefinSans-Light", path = "JosefinSans-Light.ttf", weight = FontWeight.W300)
)
Here, JosefinSans-Light.ttf is in the resource directory. You can create a sub folder for fonts.mayojava
11/12/2020, 10:29 AM