Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (alibaba, howardR, basik85278), 756 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 2 of 3 1 2 3
Re: Font installing dll - My Christmas present for [Re: PadMalcom] #171861
12/12/07 20:46
12/12/07 20:46
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline
User
Trooper119  Offline
User

Joined: Apr 2004
Posts: 516
USA
I haven't tested it yet, but I've always found that messing with fonts was a tedious and unrewarding job, so thank you for the tool. Keep up the good work


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Font installing dll - My Christmas present for [Re: Trooper119] #171862
12/17/07 20:49
12/17/07 20:49
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
The font shows up in Word after I run the program. Can I use the font inside A7 engine or did I get the intention of this plugin wrong!?


smile
Re: Font installing dll - My Christmas present for [Re: D3D] #171863
12/18/07 18:52
12/18/07 18:52
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Yes you can After having restarted your PC the font should appear in the Windows/Font directory as well

Re: Font installing dll - My Christmas present for [Re: D3D] #171864
12/18/07 22:39
12/18/07 22:39

A
Anonymous
Unregistered
Anonymous
Unregistered
A



there is a plugin you dont' need to "reboot" the pc to use the fonts - u can use them right after starting the game...

http://www.coniserver.net/ubbthreads/showflat.php/Cat/0/Number/804343/an/0/page/0#Post804343

Re: Font installing dll - My Christmas present for [Re: ] #171865
12/23/07 00:54
12/23/07 00:54
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
hehe I didn't say you need to reboot the pc to use the fonts Just seeing it in your font directory needs a restart.

Re: Font installing dll - My Christmas present for [Re: D3D] #171866
01/03/08 23:16
01/03/08 23:16
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
D3D I had a little trouble making it work from the readme but it's working great now.

Here's the example which loads a font called Pristina.ttf

Code:
var dll_handle;
string Pristina = <pristina.ttf>;
dllfunction InstallFont(Pristina);

function main()
{

dll_handle=dll_open("FontInstall.dll");
InstallFont(Pristina);
...



Re: Font installing dll - My Christmas present for [Re: JazzDude] #171867
01/03/08 23:32
01/03/08 23:32
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Yes thanks! And I do understand how to load them with this engine extension, but can you show me a example on how to use the by dll installed font inside the engine window displaying strings for instance? If this dll function is to just "temp" install a font somewhere on my computer, I really don't need a dll to accomplish that.


smile
Re: Font installing dll - My Christmas present for [Re: D3D] #171868
01/04/08 00:46
01/04/08 00:46
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
The dll allows you to use a font in your game that is not likely to be a standard Windows font in the player's font folder. I believe that is its only purpose.

Re: Font installing dll - My Christmas present for [Re: JazzDude] #171869
01/04/08 22:23
01/04/08 22:23
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Yes installing the font is the only purpose! You can use the font using Lite-C via "font = YourFont#12b" Where 12 is the size and b a parameter for "bold". Just look into the manual.

Re: Font installing dll - My Christmas present for [Re: PadMalcom] #171870
02/03/08 17:02
02/03/08 17:02
Joined: Mar 2002
Posts: 580
San Francisco
clone45 Offline
User
clone45  Offline
User

Joined: Mar 2002
Posts: 580
San Francisco
I'm trying to get this to work in lite-c. So far, GameStudio crashes when I add the font code. I might be doing something totally foolish. I haven't gotten any .dlls to work in lite-c, so it's no doubt my fault. I downloaded a free Pristina.TFF font and placed it in my game directory. Here's my code:

Code:

var dll_handle;
STRING* Pristina = "Pristina.TTF";
dllfunction InstallFont(Pristina);

void main()
{
dll_handle = dll_open("FontInstall.dll");
InstallFont(Pristina);




It's crashing on the call to InstallFont(). Any ideas?
Thanks,
- Bret

Page 2 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

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