Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Creating fonts at runtime #207667
05/21/08 15:30
05/21/08 15:30
Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
TSG_Torsten Offline OP

User
TSG_Torsten  Offline OP

User

Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
Hi,

does anyone know a way to create a (true-type) font at runtime, i mean while the engine is already running? Or, manipulate an existing true-type font at runtime (size, font-style, bold, italic...)

Regards
TSGames

Re: Creating fonts at runtime [Re: TSG_Torsten] #207674
05/21/08 16:30
05/21/08 16:30
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
font_create :: http://www.conitec.net/beta/font_create.htm

edit:
Before you ask: Yes it was already implemented in A6, thus it should work with C-Script

Last edited by Xarthor; 05/21/08 16:32.
Re: Creating fonts at runtime [Re: Xarthor] #207719
05/21/08 21:08
05/21/08 21:08
Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
TSG_Torsten Offline OP

User
TSG_Torsten  Offline OP

User

Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
Thanks, haven't found this in my manual. Anyway, i will try it tomorrow.

Thanks
TSGames

Re: Creating fonts at runtime [Re: TSG_Torsten] #207757
05/22/08 06:01
05/22/08 06:01
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
It is not indexed in the latest A6 manual chm file, but if you go to "Fonts", you can see it in the "See also" section.

Re: Creating fonts at runtime [Re: Xarthor] #208042
05/24/08 11:50
05/24/08 11:50
Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
TSG_Torsten Offline OP

User
TSG_Torsten  Offline OP

User

Joined: Mar 2005
Posts: 564
/www/europe/ germany/index.php
Ok, i've now found time to try it, and it works (Have stored the pointer to the font into a "var")

Thanks
TSGames


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