tbabej / vit

Placeholder to demostrate issue porting for VIT.
0 stars 0 forks source link

[VT-78] VITtk font "zooming" #78

Closed tbabej closed 6 years ago

tbabej commented 6 years ago

David Patrick on 2011-04-24T05:49:42Z says:

It can be annoying to start "VITtk":/wiki/Vittk without the correct font size setting, and be forced to remember what my preferred settings are and how to invoke them. Considering that there is only a limited set of possibilities, couldn't a keybinding be assigned to drive the display font up and down that list ? Wouldn't that be like "zooming" ? Might we use the same combo as our browsers ? (Ctrl + and Ctrl -) ?

tbabej commented 6 years ago

Migrated metadata:

Created: 2011-04-24T05:49:42Z
Modified: 2014-02-09T02:26:42Z
tbabej commented 6 years ago

steve rader on 2011-04-24T14:03:13Z says:

You don't have to remember your preferred font: set it via a font= setting in ~/.vittkrc.

VITtk can't zoom fonts like e.g. Firefox does because it doesn't have a reasonably workable method for mapping the current font to e.g. the current font plus one point.

tbabej commented 6 years ago

David Patrick on 2011-04-24T14:54:48Z says:

steve rader wrote:

You don't have to remember your preferred font: set it via a font= setting in ~/.vittkrc.

That's true, although I had been supplying those settings via command alias. There are times though, like when I'm connected remote, from another desktop, with another resolution, or when my eyes go fuzzy, that it would be handy to bump it up or down a notch.

VITtk can't zoom fonts like e.g. Firefox does because it doesn't have a reasonably workable method for mapping the current font to e.g. the current font plus one point.

Of course it will never have the granularity of a full GUI app, but how many font/line-hight setting are there (within the range of practical) ? 8 ? 10 ? If the "zoom" control just went up and down that list of available sizes, it might be very likeable.

tbabej commented 6 years ago

steve rader on 2011-04-25T11:37:11Z says:

Of course it will never have the granularity of a full GUI app, but how many font/line-hight setting are there (within the range of practical) ? 8 ? 10 ? If the "zoom" control just went up and down that list of available sizes, it might be very likeable.

What's problematic isn't the availability of various font sizes--VITtk can display all the same fonts as GTK+ applications do. This issue is that Xwindows fonts are not necessarily scalable fonts. Restricting VITtk to only the scalable fonts isn't practical because there isn't a portable monospaced scalable font available. (The portable monospaced font is "TkFixedFont" and there is no map to progamatically map it to the same font one size bigger.)

VITtk could "zoom" between user specified fonts but won't be motivated to add that feature until someone provides a patch or there like a half dozen users clamoring for it.

tbabej commented 6 years ago

David Patrick on 2011-04-25T14:13:32Z says:

steve rader wrote:

VITtk could "zoom" between user specified fonts but won't be motivated to add that feature until someone provides a patch or there like a half dozen users clamoring for it.

Well I'll just start a "clamoring for live font-size-selection-in VITtk" Facebook group then, won't I ? clamourclamour ;)