I build PDF at runtime on Windows, OSX, IOS and Android.
Only on Android, the font I use (Lato) isn't included in the pdf.
On GUI, the font is used properly (so it's available on the sytem).
The font is deployed in : .\assets\internal
Any idea is welcomed...
Christian
Hi,
Thanks for your answer.
I did the stuff like it's described here :
https://www.tmssoftware.com/site/forum/forum_posts.asp?TID=5067&title=pdf-export-on-android-font-deployment
Fonts are available on controls with :
TextSettings.Font.Family:= System.ioutils.tpath.Combine(System.ioutils.TPath.Combine(System.ioutils.TPath.GetDocumentsPath, 'Fonts'), 'Lato-Regular.ttf');
But if I do the same in the PDF Library :
FontName:= System.ioutils.tpath.Combine(System.ioutils.TPath.Combine(System.ioutils.TPath.GetDocumentsPath, 'Fonts'), 'Lato-Regular.ttf');
or
FontName := 'Lato-Regular.ttf'
or
FontName := 'Lato-Regular'
it doesn't include the files, and doesn't print with the font.
Any help would be very appreciated, or some piece of code.
Regards
Christian
Hi,
Bad news
Thanks