SFORCE delivers seamless, unified Apple typography to Windows. It meticulously maps SF Pro for Latin and SF Arabic for Persian/Arabic/Urdu/Pashto across Win32 interfaces, Windows metrics, system fonts, and modern web browsers with snapshot backups and instant rollback.
- 🖥️ Windows Metrics Override — Re-styles classic and modern Windows UI via
NONCLIENTMETRICSandSystemParametersInfo. - 🔗 Dual Font Linking — Links SF Pro to SF Arabic to prevent fallback glyph corruption in Persian, Arabic, and Urdu.
- 🧬 System Font Aliasing — Remaps legacy
Segoe UI,Tahoma,Arial,Helvetica,Roboto, andIntervia registryFontSubstitutes. - 🌐 Web Force Pack (Manifest V3) — Standalone extension generator for Chrome, Edge, Brave, and Arc injecting typography across web frames and Shadow DOM while preserving code monospaces.
- 🛡️ Zero-Risk Snapshot Restore — Backs up registry state to
C:\ProgramData\SFORCE\Backupsbefore any modification. Instant rollback via UI or CLI (SFORCE.exe --restore).
SFORCE Solution Structure
├── SForce.Core (Pure domain logic, alias planner, and CSS extension generator)
├── SForce.App (WPF user interface, registry modifier, metrics updater, backup engine)
└── SForce.Tests (Unit & integration test suites decoupled from OS registry)
| Project | Target | Description |
|---|---|---|
src/SForce.Core |
.NET 10 | Font metrics calculation, alias rules, Manifest V3 generator |
src/SForce.App |
.NET 10 (Windows) | WPF XAML UI, Win32 API bridge, registry manager |
tests/SForce.Tests |
.NET 10 | Unit tests validating font substitutions and rollback trees |
- Windows 10/11 (x64)
- .NET 10 SDK
# Clone the repository
git clone https://github.com/pouya-wp/sforce.git
cd sforce
# Build release solution
dotnet build SForce.slnx -c Release
# Run automated tests
dotnet test tests/SForce.Tests/SForce.Tests.csproj -c Release
# Publish self-contained executable (No runtime installation required)
dotnet publish src/SForce.App/SForce.App.csproj -c Release -o artifacts/publish/win-x64# Launch GUI
SFORCE.exe
# Emergency restore of system defaults
SFORCE.exe --restoreDistributed under the MIT License.
Crafted with precision & passion by Pouya Sadeghpour