[HiDPI] Define auxiliary functions for metrics

Collect font, font metrics and icon size functions in a separate module.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
[HiDPI] actually use defaultIconSize()

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>