Add new fonts for the reader on iOS
This commit is contained in:
@ -3,14 +3,17 @@ import Utils
|
||||
|
||||
public enum WebFont: String, CaseIterable {
|
||||
case inter = "Inter"
|
||||
case merriweather = "Merriweather"
|
||||
case lyon = "Lyon"
|
||||
case tisa = "Tisa"
|
||||
case system = "unset"
|
||||
case merriweather = "Merriweather"
|
||||
case lora = "Lora"
|
||||
case opensans = "Open Sans"
|
||||
case roboto = "Roboto"
|
||||
case crimsontext = "Crimson Text"
|
||||
case sourceserifpro = "Source Serif Pro"
|
||||
|
||||
var displayValue: String {
|
||||
switch self {
|
||||
case .inter, .merriweather, .lyon, .tisa:
|
||||
case .inter, .merriweather, .lora, .opensans, .roboto, .crimsontext, .sourceserifpro:
|
||||
return rawValue
|
||||
case .system:
|
||||
return "System Default"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Lora-Bold.ttf
Normal file
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Lora-Bold.ttf
Normal file
Binary file not shown.
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Lora-Italic.ttf
Normal file
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Lora-Italic.ttf
Normal file
Binary file not shown.
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Lora-Regular.ttf
Normal file
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Lora-Regular.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Roboto-Bold.ttf
Normal file
BIN
apple/OmnivoreKit/Sources/Views/Resources/Fonts/Roboto-Bold.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user