🚀 OpenDyslexic font
* Added new font: OpenDyslexic
This commit is contained in:
parent
4b213511b3
commit
dcf470d630
4 changed files with 9 additions and 0 deletions
|
|
@ -19,6 +19,15 @@ fun Constants.provideFonts(): List<FontWithName> {
|
||||||
UIText.StringResource(R.string.default_string),
|
UIText.StringResource(R.string.default_string),
|
||||||
FontFamily.Default
|
FontFamily.Default
|
||||||
),
|
),
|
||||||
|
FontWithName(
|
||||||
|
"open_dyslexic",
|
||||||
|
UIText.StringValue("Open Dyslexic"),
|
||||||
|
FontFamily(
|
||||||
|
Font(R.font.open_dyslexic_regular),
|
||||||
|
Font(R.font.open_dyslexic_italic, style = FontStyle.Italic),
|
||||||
|
Font(R.font.open_dyslexic_bold, weight = FontWeight.Bold)
|
||||||
|
)
|
||||||
|
),
|
||||||
FontWithName(
|
FontWithName(
|
||||||
"raleway",
|
"raleway",
|
||||||
UIText.StringValue("Raleway"),
|
UIText.StringValue("Raleway"),
|
||||||
|
|
|
||||||
BIN
app/src/main/res/font/open_dyslexic_bold.otf
Normal file
BIN
app/src/main/res/font/open_dyslexic_bold.otf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/open_dyslexic_italic.otf
Normal file
BIN
app/src/main/res/font/open_dyslexic_italic.otf
Normal file
Binary file not shown.
BIN
app/src/main/res/font/open_dyslexic_regular.otf
Normal file
BIN
app/src/main/res/font/open_dyslexic_regular.otf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue