Spécial ! |
Version mobile de l'aldweb Site m.aldweb.com Ni Français, ni Anglais ?Essayez donc l'un de ces drapeaux :
|
|
Météo / Spam / www |
Météo Lyon
aldweb contre le SPAM
|
|
|
|
|
|
|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1265 |
Use of user defined fonts differs from the manual |
le 07/10/2005 @ 14:48 par Mike
|
When using my own font in the GUI within an iziBasic program, I find I have to number it as 128 or 129 in order for iziBasic to recognise it and use it on the display.
The manual clearly states that these numbers are reserved for the console fonts and user fonts should be numbered 130 or 131 yet when I use these numbers, the font isn't recognised and the display is rendered in the standard font.
I'm obviously doing something wrong but I can't figure out what... |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 07/10/2005 @ 16:19 par Ktimaster
visiteur |
Just a guess.... Did you open up the Resource editor (RSRC Edit/BIRD) and add the font to it? Did you include the Resource in the .ibas source code? Did you use the Resource Editor to rename the font File to 128 or 129?
If this does not help Mabey Aldweb can help more |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 07/10/2005 @ 21:08 par aldweb
visiteur |
Ktimaster,
I think that you are becoming a good Hot-liner for iziBasic
Cheers, aldweb
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 08/10/2005 @ 05:47 par I_am_Not_Ktimaster(or_am_I?)
visiteur |
Yah hes my god |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4 -------- le 08/10/2005 @ 05:48 par Ktimaster
visiteur |
Well thanks ald... Does that mean I get a reward or something? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5 -------- le 08/10/2005 @ 12:02 par aldweb
visiteur |
Well, to me it is nice to see some people like you come here and share, not only to ask questions
Cheers
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 6 -------- le 09/10/2005 @ 03:59 par Ktimaster
visiteur |
Inst that the Point of a Usergroup?
FYI Did you Get the font to Work?
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 7 -------- le 10/10/2005 @ 13:51 par Mike
visiteur |
>Did you open up the Resource editor (RSRC Edit/BIRD) and add the font to it?
Yes.
>Did you include the Resource in the .ibas source code?
Yes
>Did you use the Resource Editor to rename the font File to 128 or 129?
I had to - it didn't work as 130 or 131...despite what the manual says, hence the original point. It doesn't seem to work as described. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 8 -------- le 10/10/2005 @ 21:08 par aldweb
visiteur |
Hello Mike,
1. Is your font a high res one? 2. If I understand well, when copying it to resource ID 128 or 129, it displays fine? 3. Would you mind to send me your project files, or at least a resource file with the given font and a quick script (something like BEGIN / SETFONT yourFontID / LABEL "Mike is right" / END) that would help me fix the bug if the error is on mly side?
Cheers, aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 9 -------- le 10/10/2005 @ 21:45 par Mike F
visiteur |
1. Is your font a high res one?
Yes, it's a small font to allow me to get more text on the screen.
2. If I understand well, when copying it to resource ID 128 or 129, it displays fine?
Yes. I am using it with an ID of 129 at the minute though I have used 128 instead. It is just 130 and 131 (of those permitted) that I cannot seem to use.
3. Would you mind to send me your project files, or at least a resource file with the given font and a quick script (something like BEGIN / SETFONT yourFontID / LABEL "Mike is right" / END) that would help me fix the bug if the error is on mly side?
I will produce something for you (hopefully this evening...children's health permitting!) |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 10 -------- le 11/10/2005 @ 17:00 par aldweb
visiteur |
Hello,
Thank you Mike for sending me your project files. Indeed, there was a bug in the SETFONT statement which will be fixed in the (I hope...) soon to be released version 6.0 of iziBasic.
By the way, nice font Mike!
Cheers, aldweb |
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|
|
|
|
|