우아한형제들 폰트

https://www.woowahan.com/fonts

MainActivity.kt

// FONT
// <https://www.woowahan.com/fonts>

class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            MyThemeTest3Theme {
                // A surface container using the 'background' color from the theme
                Surface(
                    modifier = Modifier.fillMaxSize(),
                    color = MaterialTheme.colorScheme.background
                ) {
                    Test()
                }
            }
        }
    }
}

@Composable
fun Test(){

    Column() {
        Text(
            text = "폰트1",
            style = MaterialTheme.typography.bodyLarge
        )
        Text(
            text = "폰트2",
            style = MaterialTheme.typography.titleLarge
        )
    }

}

@Preview(showBackground = true)
@Composable
fun GreetingPreview() {
    MyThemeTest3Theme {
        Test()
    }
}

Type.kt

val bmFont1 = FontFamily(Font(resId = R.font.bmdohyun))
val bmFont2 = FontFamily(Font(resId = R.font.bmjua))

// Set of Material typography styles to start with
val Typography = Typography(
    bodyLarge = TextStyle(
        fontFamily = bmFont1,
        fontWeight = FontWeight.Normal,
        fontSize = 50.sp,
        lineHeight = 24.sp,
        letterSpacing = 0.5.sp
    ),
    titleLarge = TextStyle(
        fontFamily = bmFont2,
        fontWeight = FontWeight.Normal,
        fontSize = 50.sp,
        lineHeight = 28.sp,
        letterSpacing = 0.sp
    )
//    labelSmall = TextStyle(
//        fontFamily = FontFamily.Default,
//        fontWeight = FontWeight.Medium,
//        fontSize = 11.sp,
//        lineHeight = 16.sp,
//        letterSpacing = 0.5.sp
//    )

)