D Deleted member 103 Guest Jun 29, 2015 #1 Hi, can someone tell me why the example of Erel with my custom font(digirtu_.ttf) does not work? Does my font have a certain format? Attachments digirtu_.zip 6.4 KB · Views: 185
Hi, can someone tell me why the example of Erel with my custom font(digirtu_.ttf) does not work? Does my font have a certain format?
tufanv Expert Licensed User Longtime User Jun 29, 2015 #2 did you try removing the _ from the name. Just an idea Upvote 0
D Deleted member 103 Guest Jun 29, 2015 #3 tufanv said: did you try removing the _ from the name. Just an idea Click to expand... Thanks, but that's not the solution. Upvote 0
tufanv said: did you try removing the _ from the name. Just an idea Click to expand... Thanks, but that's not the solution.
Erel B4X founder Staff member Licensed User Longtime User Jun 30, 2015 #4 Works fine here: Can you post your code? It should be: B4X: Button1.CustomLabel.Font = Font.CreateNew2("Digital Readout Thick Upright", 20) Upvote 0
Works fine here: Can you post your code? It should be: B4X: Button1.CustomLabel.Font = Font.CreateNew2("Digital Readout Thick Upright", 20)
D Deleted member 103 Guest Jun 30, 2015 #5 Hi Erel, I know that work with other fonts. The question is why it does not work with my font(digirtu_.ttf). Should my font will be converted? If so, with what? Can you post your code? Click to expand... I use exactly your example. Upvote 0
Hi Erel, I know that work with other fonts. The question is why it does not work with my font(digirtu_.ttf). Should my font will be converted? If so, with what? Can you post your code? Click to expand... I use exactly your example.
D Deleted member 103 Guest Jun 30, 2015 #6 I believe I have found the error. I always write so: B4X: Button1.CustomLabel.Font = Font.CreateNew2("digirtu_", 20) but I should write so: B4X: Button1.CustomLabel.Font = Font.CreateNew2("Digital Readout Thick Upright", 20) Upvote 0
I believe I have found the error. I always write so: B4X: Button1.CustomLabel.Font = Font.CreateNew2("digirtu_", 20) but I should write so: B4X: Button1.CustomLabel.Font = Font.CreateNew2("Digital Readout Thick Upright", 20)