Add static methods to use custom fonts in widgets

@chrisjenx Done sir.
I commented the code so we can talk more about it.
rename to: convertDipToPix (capital T)