Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Add new accessible fonts from Readium CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed May 22, 2020
1 parent e014295 commit b50b3ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class UserSettings(var preferences: SharedPreferences, val context: Context, pri
lateinit var resourcePager: R2ViewPager

private val appearanceValues = listOf("readium-default-on", "readium-sepia-on", "readium-night-on")
private val fontFamilyValues = listOf("Original", "PT Serif", "Roboto", "Source Sans Pro", "Vollkorn", "OpenDyslexic")
private val fontFamilyValues = listOf("Original", "PT Serif", "Roboto", "Source Sans Pro", "Vollkorn", "OpenDyslexic", "AccessibleDfA", "IA Writer Duospace")
private val textAlignmentValues = listOf("justify", "start")
private val columnCountValues = listOf("auto", "1", "2")

Expand Down
2 changes: 2 additions & 0 deletions r2-testapp/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@
<item>Source Sans Pro</item>
<item>Vollkorn</item>
<item>OpenDyslexic</item>
<item>AccessibleDfA</item>
<item>IA Writer Duospace</item>
</string-array>

</resources>

0 comments on commit b50b3ad

Please sign in to comment.