Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 4 additions & 0 deletions WDBFontOverwrite/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
16 changes: 9 additions & 7 deletions WDBFontOverwrite/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIFileSharingEnabled</key>
<true/>
<key>UIAppFonts</key>
<array>
<string>PreviewFonts/SF-CompactRounded.ttf</string>
<string>PreviewFonts/SF-Compact.ttf</string>
<string>PreviewFonts/Chococooky.ttf</string>
<string>PreviewFonts/Comic Sans MS.ttf</string>
<string>PreviewFonts/Comic Sans MS.ttf</string>
<string>PreviewFonts/DejaVuSansCondensed.ttf</string>
<string>PreviewFonts/DejaVuSansMono.ttf</string>
<string>PreviewFonts/DejaVuSerif.ttf</string>
<string>PreviewFonts/FiraSans-Regular.ttf</string>
<string>PreviewFonts/Go-Mono.ttf</string>
<string>PreviewFonts/Go-Regular.ttf</string>
<string>PreviewFonts/segoeui.ttf</string>
<string>PreviewFonts/FiraSans-Regular.ttf</string>
<string>PreviewFonts/Go-Mono.ttf</string>
<string>PreviewFonts/Go-Regular.ttf</string>
<string>PreviewFonts/segoeui.ttf</string>
</array>
<key>UIFileSharingEnabled</key>
<true/>
</dict>
</plist>
Binary file added WDBFontOverwrite/PreviewFonts/SF-Compact.ttf
Binary file not shown.
Binary file not shown.
Binary file added WDBFontOverwrite/RepackedFonts/SF-Compact.woff2
Binary file not shown.
Binary file not shown.