Joined: July 2004
||Posted: May 21 2008,11:36
|Quote (lucky13 @ May 20 2008,12:11)|
|I'm concerned that it works across the board and works well for everyone. I don't think scripts should be have to be rewritten to accomodate certain fonts.|
I agree totally.
Unfortunately this is close to impossible, as we have already seen. The only way for a font to work well for everyone is if it scales, and the only way to accomodate scaling fonts is to write all gui scripts to adjust widget sizes accordingly. Either that or make sure all widgets are large enough to accomodate huge fonts, which would waste space and look wrong with a small font.
There may be a way to add a command to your .luafltkrc file to make all widgets scalable in case the enduser chooses a larger font than what can be fit into the widgets, but I haven't done any tests. I have a feeling this wouldn't work, though, particularly for guis that already have specifically scaled windows, such as mydslBrowser...that script scales only the browser windows, with a fixed size and aspect for the buttons (big enough for the previous 14px default, but not for large fonts).