Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 1,743 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
can't load fonts. #304780
01/10/10 20:01
01/10/10 20:01
Joined: Jun 2009
Posts: 38
H
hungryhobo Offline OP
Newbie
hungryhobo  Offline OP
Newbie
H

Joined: Jun 2009
Posts: 38
** I have figured it out, it was because I did not fully define the fonts.

I.E.

font font1 = "Arial"; //wrong!
font font2 = "Arial", 0, 15; //correct!


hello, all i am trying to do is display the player's score but, whenever i use digits(....) it says it cant find the font.

how can i use the predefined windows fonts? .ttf

I created a path to the font directory but still doesnt work.

I tried the "*" character for the default font but that did not work either.

by the way, I am using A6.

Last edited by hungryhobo; 01/10/10 20:31.
Re: can't load fonts. [Re: hungryhobo] #304791
01/10/10 21:29
01/10/10 21:29
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
you have to use: AddFontResource("FONT NAME.ttf");

call this is you main function or wherever

Re: can't load fonts. [Re: darkinferno] #304811
01/11/10 00:07
01/11/10 00:07
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Kudos to you for showing us the solution to your problem after you figured it out, hungryhobo! wink


Eats commas for breakfast.

Play Barony: Cursed Edition!

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1