Saturday, November 19, 2011

[MeeGo Harmattan] The default N9 font will change to bigger and better !

Posted on 2:05 PM by SlipKoRnSaad

This is a pre-warning of one change that will take place in an future software update of the Nokia N9: the default font, "Nokia Pure Text", will be updated as well. This might have an impact on some of your application UIs.

The typeface of Nokia Pure Text itself will not change, but the font metrics will. The most significant change is that by default, the text will take approximately 20% more space vertically, i.e. the height of the "bounding box" of text items will increase.

The current height of the font is actually a bit too small. E.g., some of the diacritic/accent marks or descenders do not fit to the bounding box. Fixing this is important especially for non-european languages using non-latin script. The picture below shows how the same text labels render on two different software releases, PR1.0/PR1.1 on the left and the new version of the font on the right:

N9 old and new font side by side

Whether this has any impact on your application, depends on how the UI layout has been built. In many cases, there is no impact or the change does not really matter. These cases are e.g.:
  • Short text labels centered on top of other graphical items (like buttons)
  • Lists and other pannable areas where the size anyway varies.
  • By using margins and other buffer, you have anyway prepared for changes in the size of the text items e.g. for localization purposes.
But you might see some small surprises if your layout directly depends on the height of the bounding box of the text items. In Qt Quick terms, that would be the Label.height or Text.height properties.

In many cases, the best approach is to design the UI so that you expect the size of the text to vary both horizontally and vertically, that is needed anyway if you provide localizations for different languages.

Typically, that requires leaving enough margins or other space or placing text in pannable areas.

Via : developer.nokia.com

No Response to "[MeeGo Harmattan] The default N9 font will change to bigger and better !"

Leave A Reply