Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, AndrewAMD), 1,076 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
including a true type font with game #130474
05/17/07 17:05
05/17/07 17:05
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline OP
User
JazzDude  Offline OP
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Anybody have a suggestion for including a ttf font that the engine would find?

I'm thinking "automatic", not like asking the user to install it separately.

Do we need a dll for this?

Re: including a true type font with game [Re: JazzDude] #130475
05/17/07 18:31
05/17/07 18:31
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
if u have an installer just install it into the font direction, or copy it per dll to it(big.dll)

Re: including a true type font with game [Re: Scorpion] #130476
05/17/07 19:34
05/17/07 19:34
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline OP
User
JazzDude  Offline OP
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Thanks, Scorpion,

I knew I could do it with an installer, but I'd like to have it within the game, so could you explain this a little better:

"copy it per dll to it(big.dll) "

...and Triple_X's website doesn't have big.dll on it. Where can I get it?

Re: including a true type font with game [Re: JazzDude] #130477
05/17/07 20:43
05/17/07 20:43
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
He meant you could store the font inside a gamestudio folder and then copy it to the windows font directory, e.g. C:\Windows\Fonts\. However, you than have to be carefull with the folder. Under XP it is C:\Windows\Fonts\, under Win2k it's C:\Winnt\Fonts\ and under any prior version the path can be abitray as you can select any path when installing the o.s.

But even when the file is copied, it is not necessarily installed. For example when running Word and then copying the font to the font folder Word won't recognize until you restart the game. The same with GameStudio. Before you're able to copy the file the engine needs to be started and at that point the font already won't be found as you don't have the opportunity to copy the file before the font initialization.

I guess the best way to go for you is really an installer application.


Always learn from history, to be sure you make the same mistakes again...
Re: including a true type font with game [Re: Uhrwerk] #130478
05/17/07 20:51
05/17/07 20:51
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline OP
User
JazzDude  Offline OP
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Ah, yes...that explains a lot. I hadn't thought about the potential path problems.

Many thanks.

Re: including a true type font with game [Re: JazzDude] #130479
05/29/07 17:39
05/29/07 17:39
Joined: May 2005
Posts: 155
C:\Program files\GStudio6
alphaindigo Offline
Member
alphaindigo  Offline
Member

Joined: May 2005
Posts: 155
C:\Program files\GStudio6
if you are going for the installer option then you may have to restart the pc so that the font is loaded properly.. i had trouble with this.. takle a look installling true type fonts


beware the sock! - tLempoary...

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