diff --git a/README.md b/README.md index 168c6cc..59aafc8 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Fonts included: - Segoe UI - Comic Sans MS - Choco Cooky +- SF-Compact +- SF-Compact-Rounded ![Screenshot](https://user-images.githubusercontent.com/704768/209511898-a1477b66-28e4-471a-87d9-36c1c2eb25ca.png) diff --git a/WDBFontOverwrite/ContentView.swift b/WDBFontOverwrite/ContentView.swift index 4b4c174..ad2eeb0 100644 --- a/WDBFontOverwrite/ContentView.swift +++ b/WDBFontOverwrite/ContentView.swift @@ -32,6 +32,10 @@ let fonts = [ name: "Comic Sans MS", postScriptName: "ComicSansMS", repackedPath: "Comic Sans MS.woff2"), FontToReplace( name: "Choco Cooky", postScriptName: "Chococooky", repackedPath: "Chococooky.woff2"), + FontToReplace( + name: "SF Compact", postScriptName: "SFCompact-Regular", repackedPath: "SF-Compact.woff2"), + FontToReplace( + name: "SF Compact Rounded", postScriptName: "SFCompactRounded-Regular", repackedPath: "SF-CompactRounded.woff2"), ] struct ContentView: View { diff --git a/WDBFontOverwrite/Info.plist b/WDBFontOverwrite/Info.plist index d9f0420..dc61c07 100644 --- a/WDBFontOverwrite/Info.plist +++ b/WDBFontOverwrite/Info.plist @@ -2,19 +2,21 @@ - UIFileSharingEnabled - UIAppFonts + PreviewFonts/SF-CompactRounded.ttf + PreviewFonts/SF-Compact.ttf PreviewFonts/Chococooky.ttf - PreviewFonts/Comic Sans MS.ttf + PreviewFonts/Comic Sans MS.ttf PreviewFonts/DejaVuSansCondensed.ttf PreviewFonts/DejaVuSansMono.ttf PreviewFonts/DejaVuSerif.ttf - PreviewFonts/FiraSans-Regular.ttf - PreviewFonts/Go-Mono.ttf - PreviewFonts/Go-Regular.ttf - PreviewFonts/segoeui.ttf + PreviewFonts/FiraSans-Regular.ttf + PreviewFonts/Go-Mono.ttf + PreviewFonts/Go-Regular.ttf + PreviewFonts/segoeui.ttf + UIFileSharingEnabled + diff --git a/WDBFontOverwrite/PreviewFonts/SF-Compact.ttf b/WDBFontOverwrite/PreviewFonts/SF-Compact.ttf new file mode 100755 index 0000000..8273ab8 Binary files /dev/null and b/WDBFontOverwrite/PreviewFonts/SF-Compact.ttf differ diff --git a/WDBFontOverwrite/PreviewFonts/SF-CompactRounded.ttf b/WDBFontOverwrite/PreviewFonts/SF-CompactRounded.ttf new file mode 100644 index 0000000..7530faa Binary files /dev/null and b/WDBFontOverwrite/PreviewFonts/SF-CompactRounded.ttf differ diff --git a/WDBFontOverwrite/RepackedFonts/SF-Compact.woff2 b/WDBFontOverwrite/RepackedFonts/SF-Compact.woff2 new file mode 100644 index 0000000..9b4347a Binary files /dev/null and b/WDBFontOverwrite/RepackedFonts/SF-Compact.woff2 differ diff --git a/WDBFontOverwrite/RepackedFonts/SF-CompactRounded.woff2 b/WDBFontOverwrite/RepackedFonts/SF-CompactRounded.woff2 new file mode 100644 index 0000000..00f61b2 Binary files /dev/null and b/WDBFontOverwrite/RepackedFonts/SF-CompactRounded.woff2 differ