B4J Question loadfont detected no font

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi,
I running my ui app in debug mode in the raspberry PI. dsh7.ttf put in Files directory.
dsg7=fx.LoadFont(File.DirAssets,"dsg7.ttf",54)

it always give me exception:
Error: JavaFX detected no fonts! Please refer to release notes for proper font configuration
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…