aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1265

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

actif  Sujet n° 1265  Use of user defined fonts differs from the manual

le 07/10/2005 @ 14:48
par Mike

Anonyme



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...
Ecrire à Mike   Poster une réponse  Haut

[]   


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

Anonyme

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
Ecrire à Ktimaster   Poster une réponse  Haut

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

Anonyme

visiteur
Ktimaster,

I think that you are becoming a good Hot-liner for iziBasic

Cheers,
aldweb

@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut

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?)

Anonyme

visiteur
Yah hes my god
Ecrire à I_am_Not_Ktimaster(or_am_I?)   Poster une réponse  Haut

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

Anonyme

visiteur
Well thanks ald... Does that mean I get a reward or something?
Ecrire à Ktimaster   Poster une réponse  Haut

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

Anonyme

visiteur
Well, to me it is nice to see some people like you come here and share, not only to ask questions

Cheers

@+
aldweb
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

visiteur
Inst that the Point of a Usergroup?

FYI Did you Get the font to Work?
Ecrire à Ktimaster   Poster une réponse  Haut

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

Anonyme

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.
Ecrire à Mike   Poster une réponse  Haut

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

Anonyme

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
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

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!)
Ecrire à Mike F   Poster une réponse  Haut

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

Anonyme

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
Ecrire à aldweb   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^