B bobsteamer Member Licensed User Longtime User Sep 23, 2011 #1 LoadFromAssets (FileName As String) As android.graphics.Typeface Loads a font file, that was added with the file manager. Click to expand... Unfortunately I have been unable to find details on how to add a font to the "Assets": a) how do I load a font into the emulator? b) Can I embed the font in my application for the real world or would the user have to load the font him/herself?
LoadFromAssets (FileName As String) As android.graphics.Typeface Loads a font file, that was added with the file manager. Click to expand... Unfortunately I have been unable to find details on how to add a font to the "Assets": a) how do I load a font into the emulator? b) Can I embed the font in my application for the real world or would the user have to load the font him/herself?
Erel B4X founder Staff member Licensed User Longtime User Sep 23, 2011 #2 1) Add the file to the file list in the Files tab (right pane). Can I embed the font in my application for the real world Click to expand... 2) Yes, there is no problem with including your own font file in your project. Upvote 0
1) Add the file to the file list in the Files tab (right pane). Can I embed the font in my application for the real world Click to expand... 2) Yes, there is no problem with including your own font file in your project.
DrownedBat Member Licensed User Longtime User Jun 27, 2014 #4 Outstanding! This was one of those issues I was worried about. Upvote 0
DonManfred Expert Licensed User Longtime User Jun 28, 2014 #5 Please have a look at this example clock... It includes a ttf-font to display the time Upvote 0