Comment 56 for bug 1738774

Revision history for this message
In , Vstuart-foote (vstuart-foote) wrote :

(In reply to bugzilla2 from comment #49)

So guess we would add additional bracketing for a 25% increment in scale factoring. Like this maybe:

 nDPI > 264
     300 (so 3.0x)
 nDPI > 240
     275 (so 2.75x)
 nDPI > 216
     250 (so 2.5x)
 nDPI > 192
     225 (so 2.25x)
 nDPI > 168
     200 (so 2.0x)
 nDPI > 144
     175 (so 1.75x)
 nDPI > 120
     150 (so 1.5x)
otherwise
     100 (or unscaled and using the prebuilt PNG)

@Tomaž -- what do you think. Looks easy hackable, but will the current SVG to PNG resampling suffice to generate usable icon themes at the 25% increments? And any other places in the UI that 25% increments would cause problems?