Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (RealSerious3D, AndrewAMD, chsmac85, dr_panther, TedMar), 942 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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