Xojo example project
This example Xojo project shows how one can embed custom App Fonts in Xojo-built applications.
The fonts are not being installed on the OS - they are only available while the application is running. This may be necessary, depending on the license of your fonts.
On Windows and Linux it's even possible to load/unload during runtime.
Xojo is a rapid application development for Desktop, Web, Mobile & Raspberry Pi.
The Desktop application Xojo example project CustomAppFonts.xojo_project is using:
- Xojo 2026r1.2
- API 2
- macOS: Fonts are being added using
- Build Settings: macOS
- Property List Editor: Add the following key/value (as string)
Key:ATSApplicationFontsPath, Value:AppFonts/
- Property List Editor: Add the following key/value (as string)
- Post-Build
CopyFiles-Step- Destination:
Resources Folder, Sub Directory:AppFonts
- Destination:
- Build Settings: macOS
- Windows/Linux: Fonts are being added using
DeclaresinmodCustomAppFonts(see the corresponding Module in the project)- Post-Build
CopyFiles-Step- Destination:
App Parent Folder, Sub Directory:AppFonts
- Destination:
Juerg Otter is a long term user of Xojo and working for CM Informatik AG. Their Application CMI LehrerOffice is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some bits and pieces for Xojo Developers.
Do you like this project? Does it help you? Has it saved you time and money?
You're welcome - it's free... If you want to say thanks I'd appreciate a message or a small donation via PayPal.


