jinyistudio Well-Known Member Licensed User Longtime User Jul 9, 2020 #1 Hi I try to add following font into internal designer but not working. my b4j is 8.31. "DSEG": 7-segment and 14-segment free fonts www.keshikan.net Attachments font1.png 10.7 KB · Views: 173
Hi I try to add following font into internal designer but not working. my b4j is 8.31. "DSEG": 7-segment and 14-segment free fonts www.keshikan.net
Erel B4X founder Staff member Licensed User Longtime User Jul 9, 2020 #2 Adding fonts with the designer is only supported in B4A. You should set the custom font programmatically. Adding font files option shouldn't appear in B4J. It is fixed. Upvote 0
Adding fonts with the designer is only supported in B4A. You should set the custom font programmatically. Adding font files option shouldn't appear in B4J. It is fixed.
jinyistudio Well-Known Member Licensed User Longtime User Jul 9, 2020 #3 Erel said: Adding fonts with the designer is only supported in B4A. You should set the custom font programmatically. Adding font files option shouldn't appear in B4J. It is fixed. Click to expand... Could i set the custom font programmatically ? How ? Upvote 0
Erel said: Adding fonts with the designer is only supported in B4A. You should set the custom font programmatically. Adding font files option shouldn't appear in B4J. It is fixed. Click to expand... Could i set the custom font programmatically ? How ?
Erel B4X founder Staff member Licensed User Longtime User Jul 10, 2020 #4 Using fx.LoadFont. Upvote 0
jinyistudio Well-Known Member Licensed User Longtime User Jul 10, 2020 #5 It is OK B4X: dsg7=fx.LoadFont(File.DirAssets,"dsg7.ttf",56) MainForm = Form1 MainForm.RootPane.LoadLayout("123") 'Load the layout file. MainForm.Show Label1.Font=dsg7 Label2.Font=dsg7 Label3.Font=dsg7 Attachments p1.jpg 21.3 KB · Views: 149 Upvote 0
It is OK B4X: dsg7=fx.LoadFont(File.DirAssets,"dsg7.ttf",56) MainForm = Form1 MainForm.RootPane.LoadLayout("123") 'Load the layout file. MainForm.Show Label1.Font=dsg7 Label2.Font=dsg7 Label3.Font=dsg7