### FontFamilySynthesisSample
```kotlin
@Composable
fun FontFamilySynthesisSample() {
    // The font family contains a single font, with normal weight
    val fontFamily = FontFamily(Font(resId = R.font.myfont, weight = FontWeight.Normal))
    // Configuring the Text composable to be bold
    // Using FontSynthesis.Weight to have the system render the font bold my making the glyphs
    // thicker
    Text(
        text = "Demo Text",
        style =
            TextStyle(
                fontFamily = fontFamily,
                fontWeight = FontWeight.Bold,
                fontSynthesis = FontSynthesis.Weight,
            ),
    )
}
```