Use And Deploy Custom True Type Fonts In Delphi XE7 Firemonkey On Android And IOS

Delphi XE7 Firemonkey Custom Font Deployment Android IOSDeveloper Douglas Rudd has a couple blog posts up explaining how to use and deploy True Type fonts in your Delphi XE7 Firemonkey apps on Android and IOS platforms. We covered True Type fonts before for XE5 but this is specifically for XE7. For the Android side basically you customize the FMX.FontGlyphs.Android.pas file with some JNI code to look for the name of the font. You then change the TextSettings Font Family property in each component where you want the font to appear to reflect the filename of the True Type font (without the extension). The font itself gets deployed to the \assets\internal\ directory. On the IOS side basically you will need to create a custom info.plist file with a UIAppFont key record in it with your True Type font name in it. The font itself needs to be added to your app deployment and you can leave the default location setting. You can then change the TextSettings Font Family property to reflect the name of the font itself (and not the filename). These same instructions should also work in Appmethod.

Head over and read the full blog post about deploying a custom font for Delphi XE7 apps on IOS.

Head over and read the full blog post about deploying a custom font for Delphi XE7 apps on Android.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Use And Deploy Custom True Type Fonts In Delphi XE7 Firemonkey On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE7 Firemonkey Android Video Player Hardware Wrapper
Native Android Video Player Component Wrapper In Delphi XE7 Firemonkey On Android And IOS

Flash AV Software Corp. has wrapper component for the native Android mediaplayer component which implements hardware decoding in Delphi XE7...

Close