Screen Text Fonts.

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by jardi.

I just received PB yesterday (lots of fun!) and am trying to put together the bare bones of a 'skeleton' or template type prog'.
Having a problem with the fonts ... there is one font (neat) that is default for the Menu. There is 2nd different font that is the default for any 2D graphics and there is a 3rd (different again) font that is the default for the Status bar panels. Haven't built a dialogue yet, so there may be a 4th default font lurking. The general appearance is a mess. I have control over the 2D graphics font but none of the others.
Anyone know how to change the default font that gets printed to the status bar panels?. (status default looks like timesnewRoman).
regards
john
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Status bar panel has a different font ? Can you post a screen shot please ? About the 2D drawing font, it's ok, as it has nothing to do with the other one.

Thanks for you comments.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

> I have control over the 2D graphics font
> but none of the others.

SetGadgetFont() for Gadgets.

See also 'CoolFonts' for Gadgets and Screens/Images:
viewtopic.php?t=2514

cya,
...Danilo
(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by jardi.
Originally posted by fred

Status bar panel has a different font ? Can you post a screen shot please ? About the 2D drawing font, it's ok, as it has nothing to do with the other one.

Thanks for you comments.

Fred - AlphaSND
Fred. Thanks. I would have included a small GIF to show the general look but I've no idea how to add it in here. The 'insert image' button just adds a "[/img]"? thingy. :wink:.
regards
john
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by jardi.
Originally posted by Danilo

> I have control over the 2D graphics font
> but none of the others.

SetGadgetFont() for Gadgets.

See also 'CoolFonts' for Gadgets and Screens/Images:
viewtopic.php?t=2514

cya,
...Danilo
(registered PureBasic user)
Danilo. Thanks for the link info.
Tried it but no effect ;-(. The status bar seems to act as a special type of window and the gadget stuff wont touch it. I'll try to figure out what kind of API-links, PB maintains. Maybe approach it from that direction.
regards
john
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> I would have included a small GIF to show the general look but
> I've no idea how to add it in here. The 'insert image' button just
> adds a "[/img]"? thingy. :wink:.

You have to host your image at another web address and then put its
link between those tags.
Post Reply