Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by NeoDumont. 02/17/26 15:40
Hedge on FXCM, 4 or 5?
by Martin_HH. 02/16/26 16:09
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
6 registered members (TipmyPip, M_D, AndrewAMD, NeoDumont, alx, 1 invisible), 8,803 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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