Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, dBc), 18,430 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Truetype fonts scale factors #413082
12/07/12 17:10
12/07/12 17:10
Joined: Aug 2003
Posts: 425
DocJoe Offline OP
Senior Member
DocJoe  Offline OP
Senior Member

Joined: Aug 2003
Posts: 425
Scale factors (scale_x/scale_y) don't affect Truetype fonts at the moment. This should also run for Truetype fonts. X


Don't take the cake to the party.
Re: Truetype fonts scale factors [Re: DocJoe] #413137
12/08/12 18:51
12/08/12 18:51
Joined: Aug 2003
Posts: 425
DocJoe Offline OP
Senior Member
DocJoe  Offline OP
Senior Member

Joined: Aug 2003
Posts: 425
The following procedure is possible, but a little bit laborious.

Code:
PANEL* pScores_Strip = {
  scale_x = 0.5;
}
...
tScores.target_map = pScores_Strip.bmap;



Don't take the cake to the party.
Re: Truetype fonts scale factors [Re: DocJoe] #413152
12/09/12 07:51
12/09/12 07:51
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Or define a set of truetype fonts with different size. The solution with the target panel has the disadvantage of low font resolution with high scales, which looks particularly bad with fonts.

That's why fonts don't scale. Windows renders them differently dependent on their size. Text won't get bigger or smaller when you re-size a window.


Moderated by  aztec, Spirit 

Gamestudio download | 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