(x `div` y)*y + (x `mod` y) == xWARNING: This function is partial (because it throws when 0 is passed as the divisor) for all the integer types in base.
>>> modFontSize 1 (FontSizePoints 13) FontSizePoints 14 >>> modFontSize 1 (FontSizeUnits 9.0) FontSizeUnits 10.0You can reduce the font size by passing a negative value.
>>> modFontSize (-2) (FontSizePoints 13) FontSizePoints 11If you try to create a font size less than 1, then the old font size will be used.
>>> modFontSize (-10) (FontSizePoints 5) FontSizePoints 5 >>> modFontSize (-1) (FontSizeUnits 1.0) FontSizeUnits 1.0