Author Topic: Embedded Fonts  (Read 1858 times)


  • Newbie
  • *
  • Posts: 1
Embedded Fonts
« on: September 15, 2020, 11:10:13 AM »
I want to know is HAC embedded used fonts into the application?
Because I want to use a font that's not available on android by default.
« Last Edit: February 08, 2022, 06:34:30 AM by Malkom »


  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Embedded Fonts
« Reply #1 on: September 16, 2020, 07:55:24 AM »
I'm sorry, but HAC doesn't support embedded fonts.

It can only access fonts already installed on the device because it needs to know their name as provided by the Android OS.

For instance to set the font for a button use the command - ButtonSetFont(button_number,font_name)

By the way, fields only display properly with Mono fonts.

Please note,
HAC is quite old and was last tested fully on Android OS 4.1, seemed to work well in version 5, but Android is now up to version 11 (2020).
As the Android OS has improved, so the way that some features worked has markedly changed, so breaking older code.

HAC offers a menu system that is no longer supported by most modern smart phones.
Older phones had a menu button so allowing HAC developers to easily create and offer Android phone users a complex menu system.
Therefore many HAC demos that required the menu button just do not work on modern smartphones.

« Last Edit: October 18, 2020, 09:21:28 AM by Malkom »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.