[PATCH] Add support for JEDEC/metric standards to KLocale::formatByteSize

John Tapsell johnflux at gmail.com
Thu Jul 23 23:52:32 BST 2009


For the spacing between the number and the unit, we currently use a
fullspace, whereas a thin space is considered typographically better.
The four main possibilities are:


34 KiB       <-- ordinary space
34 KiB       <-- THIN SPACE
34 KiB        <-- HAIR SPACE
34KiB        <-- nothing

(you should see the space between the number and unit decrease)

So, can we change to use a thin space please?

If we do go for a thinspace, it would be nice to have a "formatRate()"
 function as well, that returned:  "%1 s⁻¹" so that this can
consistently follow how we set the spacing and how we format the time
as 1/s or s⁻¹.




More information about the kde-core-devel mailing list