Revert "Add install fonts option"

This reverts commit 34c4521cd4.
This commit is contained in:
Thomas Ricouard 2023-02-05 21:22:18 +01:00
parent 67c1458c16
commit d7bad26f04
16 changed files with 0 additions and 43 deletions

View file

@ -81,19 +81,6 @@ struct DisplaySettingsView: View {
.listRowBackground(theme.primaryBackgroundColor)
Section {
if !UIFont.familyNames.contains("OpenDyslexic") {
Button("settings.display.fonts.install") {
print(UIFont.familyNames)
let hyperLegibleURL = Bundle.main.url(forResource: "Atkinson-Hyperlegible-Regular-102", withExtension: "ttf")
let openDyslexicURL = Bundle.main.url(forResource: "OpenDyslexic-Regular", withExtension: "otf")
let fontsURLs = [hyperLegibleURL, openDyslexicURL]
CTFontManagerRegisterFontURLs(fontsURLs as CFArray, .persistent, true)
{ (errors, done) -> Bool in
return true
}
}
}
Button {
theme.followSystemColorScheme = true
theme.selectedSet = colorScheme == .dark ? .iceCubeDark : .iceCubeLight

View file

@ -147,8 +147,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Exploreu";
"tab.federated" = "Federat";

View file

@ -145,8 +145,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
"enum.expand-media.show" = "Alle zeigen";
"enum.expand-media.hide" = "Alle ausblenden";
"enum.expand-media.hide-sensitive" = "Sensible ausblenden";

View file

@ -149,8 +149,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Explore";
"tab.federated" = "Federated";

View file

@ -149,8 +149,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Explore";
"tab.federated" = "Federated";

View file

@ -145,8 +145,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
"enum.expand-media.show" = "Siempre";
"enum.expand-media.hide" = "Nunca";
"enum.expand-media.hide-sensitive" = "Ocultar contenido sensible";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "Sélection d'onglet";
"settings.haptic.buttons" = "Appui bouton";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Explorer";
"tab.federated" = "Fédéré";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "Selezione Tab";
"settings.haptic.buttons" = "Pressione dei bottoni";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Esplora";
"tab.federated" = "Federazione";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "タブセレクト";
"settings.haptic.buttons" = "ボタン操作時";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "エクスプローラー";
"tab.federated" = "連合";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "하단 탭 바를 누를 때";
"settings.haptic.buttons" = "버튼을 누를 때";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "둘러보기";
"tab.federated" = "연합";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Utforsk";
"tab.federated" = "Federert";

View file

@ -145,8 +145,6 @@
"settings.haptic.tab-selection" = "Tabselectie";
"settings.haptic.buttons" = "Knoppen";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Ontdekken";
"tab.federated" = "Gefedereerd";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "Wybór zakładki";
"settings.haptic.buttons" = "Naciśnięcie przycisku";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Odkrywaj";
"tab.federated" = "Globalny";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Explorar";
"tab.federated" = "Linha global";

View file

@ -148,8 +148,6 @@
"settings.haptic.tab-selection" = "Tab Selection";
"settings.haptic.buttons" = "Button Press";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
// MARK: Tabs
"tab.explore" = "Keşfet";
"tab.federated" = "Birleştirilmiş";

View file

@ -143,8 +143,6 @@
"settings.haptic.tab-selection" = "导航栏";
"settings.haptic.buttons" = "按钮";
"settings.display.fonts.install" = "Install OpenDyslexic and Hyper Legible fonts";
"settings.display.font" = "时间线字体";
"settings.display.font.system" = "系统";
"settings.display.font.custom" = "自定义";