Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 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 | chip programmers | 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