Error in Icon Theme Specification
Benoit Gschwind
gschwind at gnu-log.net
Mon Apr 26 07:10:05 UTC 2021
Hello,
I found a possible error in the current icon-theme-specification where
we can read in DirectorySizeDistance pseudo code:
if Type is Threshold
if iconsize*iconscale < (Size - Threshold)*Scale
return MinSize*Scale - iconsize*iconscale
if iconsize*iconsize > (Size + Threshold)*Scale
return iconsize*iconsize - MaxSize*Scale
return 0
Where MaxSize and MinSize aren't related to Threshold. I guess
replacing MaxSize by (Size+Threshold) and MinSize by (Size-Threshold)
in this lines seems more appropriate.
Best regards
--
Benoit Gschwind
More information about the xdg
mailing list