Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, Nymphodora, Quad, TipmyPip, Imhotep), 852 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 1 of 3 1 2 3
Font installing dll - My Christmas present for you #171851
12/08/07 18:43
12/08/07 18:43
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi, here I offer you a dll to install / deinstall fonts with just one command line. A beginner readme is placed in the zip file.

http://rapidshare.de/files/38003687/FontIntallDll.zip.html

Re: Font installing dll - My Christmas present for you [Re: PadMalcom] #171852
12/08/07 21:36
12/08/07 21:36
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Thanks for the effort

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: Font installing dll - My Christmas present for you [Re: frazzle] #171853
12/09/07 00:32
12/09/07 00:32
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
I hate bitmap un-kerned fonts and I'm tired of the standard Windows choices, so your contribution is a godsend.

Thank you. To show my everlasting appreciation, I'll be mailing you choice parts of a goat that I recently sacrificed.

Re: Font installing dll - My Christmas present for [Re: PadMalcom] #171854
12/09/07 10:53
12/09/07 10:53
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
Nice, added this (renamed as FontInstallDll.zip) to 3DGS Downloads on GSTools


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: Font installing dll - My Christmas present for [Re: nfs42] #171855
12/09/07 22:35
12/09/07 22:35
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Thank you!


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Font installing dll - My Christmas present for [Re: Puppeteer] #171856
12/09/07 23:58
12/09/07 23:58
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Can't get it to work with Lite-C

Code:
#include <acknex.h>

function InstallFont(MyFont);
function DeinstallFont(MyFont);
function ShowMyMessage(MyMessage);

STRING* tt_font = "HOURPHOT.TTF";

TEXT* TT_text =
{
layer=1;
pos_x=25;
pos_y=25;
string="hello world";
font=tt_font;
flags=VISIBLE;
}

function main()
{
fps_max = 60;

InstallFont(tt_font);

while(1)
{
wait(1);
}
}




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

Joined: Mar 2006
Posts: 1,993
Karlsruhe
The DLL installs a font into the windows "font collection", it does not automatically create a gamestudio font.

Re: Font installing dll - My Christmas present for [Re: PadMalcom] #171858
12/10/07 02:47
12/10/07 02:47
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline
User
thegamedesigner  Offline
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
Thanks, I will try this asap, it looks like just what I needed!


My games - www.spyeart.com
Re: Font installing dll - My Christmas present for [Re: thegamedesigner] #171859
12/10/07 14:44
12/10/07 14:44
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
The truetype font is inside the same directory as the dll. Anyways it doesn't work. Would be nice if you create a example. Also why do I need a DLL for this? Can't I not just install needed fonts when end-user installs game?


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

Joined: Mar 2006
Posts: 1,993
Karlsruhe
How did you check if the font has been installed? Try to open Word for example and find out if the font appears in the font list. If not I'll have a look at the code again.

FYI: In my System the font appeared in my C:\Windows\Font directory after a restart, in Word's font list it appeard directly after using my Dll.

Page 1 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