
desktopTest.androidx.compose.ui.text.font.FontTestData.kt Maven / Gradle / Ivy
/*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.compose.ui.text.font
import androidx.compose.ui.text.ExperimentalTextApi
class FontTestData {
@OptIn(ExperimentalTextApi::class)
companion object {
private val resourceId = 1
val BASIC_MEASURE_FONT = Font(
resId = resourceId,
weight = FontWeight.W100,
style = FontStyle.Normal
)
val FONT_100_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W100,
style = FontStyle.Normal
)
val FONT_100_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W100,
style = FontStyle.Italic
)
val FONT_100_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W100,
style = FontStyle.Italic
)
val FONT_200_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W200,
style = FontStyle.Normal
)
val FONT_200_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W200,
style = FontStyle.Italic
)
val FONT_200_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W200,
style = FontStyle.Italic
)
val FONT_300_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W300,
style = FontStyle.Normal
)
val FONT_300_REGULAR_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W300,
style = FontStyle.Normal
)
val FONT_300_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W300,
style = FontStyle.Italic
)
val FONT_300_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W300,
style = FontStyle.Italic
)
val FONT_400_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W400,
style = FontStyle.Normal
)
val FONT_400_REGULAR_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W400,
style = FontStyle.Normal
)
val FONT_400_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W400,
style = FontStyle.Italic
)
val FONT_400_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W400,
style = FontStyle.Italic
)
val FONT_500_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W500,
style = FontStyle.Normal
)
val FONT_500_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W500,
style = FontStyle.Italic
)
val FONT_500_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W500,
style = FontStyle.Italic
)
val FONT_600_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W600,
style = FontStyle.Normal
)
val FONT_600_REGULAR_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W600,
style = FontStyle.Normal
)
val FONT_600_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W600,
style = FontStyle.Italic
)
val FONT_600_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W600,
style = FontStyle.Italic
)
val FONT_700_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W700,
style = FontStyle.Normal
)
val FONT_700_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W700,
style = FontStyle.Italic
)
val FONT_800_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W800,
style = FontStyle.Normal
)
val FONT_800_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W800,
style = FontStyle.Italic
)
val FONT_800_ITALIC_FALLBACK = Font(
resId = resourceId,
weight = FontWeight.W800,
style = FontStyle.Italic
)
val FONT_900_REGULAR = Font(
resId = resourceId,
weight = FontWeight.W900,
style = FontStyle.Normal
)
val FONT_900_ITALIC = Font(
resId = resourceId,
weight = FontWeight.W900,
style = FontStyle.Italic
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy