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 2023r4
- API 2
- macOS: Fonts are being added using
Info.plist
(see the corresponding project item)- Post-Build
CopyFiles
-Step- Destination:
Resources Folder
, Sub Directory:AppFonts
- Destination:
- Windows/Linux: Fonts are being added using
Declares
inmodCustomAppFonts
(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.