Small font helpers

Added constant for DPI used and a way to calculate point size from pixels for fonts.