Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
font color/ shadow #136565
06/15/07 18:02
06/15/07 18:02
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
Can you specify the color of a truetype font?
Can you add a shadow to a truetype font(like the _a4font has) so it can be visible on dark or light backgrounds?

Re: font color/ shadow [Re: yorisimo] #136566
06/15/07 19:19
06/15/07 19:19
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Quote:


text.blue
text.green
text.red

Color vector, defines the color for a True-Type font in a TEXT object .




Visit: http://manual.conitec.net/text-red.htm

And take a look here:
http://manual.conitec.net/text-flags.htm

Quote:


SHADOW Draws TTF texts with a black shadow





Just a small hint: Start reading the manual, it has everything in it what you need, and a lot more.

Re: font color/ shadow [Re: Xarthor] #136567
06/15/07 20:10
06/15/07 20:10
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
Thanks! missed that in the manual...was looking under font instead of text. However, if I want digits to be displayed with a shadow, I can't use the TEXT flags. Any idea with adding a shadow to the digits? (I can color them using the PANEL flag LIGHT and panel.blue, panel.red, panel.green)

Last edited by yorisimo; 06/15/07 20:28.
Re: font color/ shadow [Re: yorisimo] #136568
06/17/07 16:37
06/17/07 16:37
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
How do I add a shadow to text within a "digits(...)" since the digits do not use TEXT flags?

Re: font color/ shadow [Re: yorisimo] #136569
06/17/07 17:58
06/17/07 17:58
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
There is no "shadow" flag for digits afaik.

However a workaround would be to have two panels, one having the digits in font with a dark color (as shadow) and one layer above the panel for the "real" digits.
Thats a workaround I can think of at the moment.

Re: font color/ shadow [Re: Xarthor] #136570
06/17/07 18:11
06/17/07 18:11
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
or You may use free A4FontGenerator and with this software you may create fonts with shadows
BTW: very good app


Never say never.

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