Discussion:
Error in Icon Theme Specification
Benoit Gschwind
2021-04-26 07:10:05 UTC
Permalink
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

Continue reading on narkive:
Loading...