Fonts

From WikiPrizm
Revision as of 16:02, 4 August 2014 by Gbl08ma (talk | contribs)
Jump to navigationJump to search

The OS includes, at least, four different fonts. For each font, there's a set of syscalls which work, and can display strings, with it.

24 px font

This is a fixed-width (width = 18 px) font used with syscalls such as PrintXY and Print_OS. The screen has space for exactly nine lines of text displayed in this font, with each line containing space for 21 characters plus six pixels at the end (where a scroll bar fits).

Characters supported

Most, if not all, multi-byte characters are supported, including the Latin, Greek and Russian alphabets.

Example

Text in the System menu, excluding the function key labels at the bottom, is displayed in this font:

1407155019.502.systmenu.png

18 px font

This is a variable-width font used with syscalls such as PrintMini and GetMiniGlyphPtr. The screen has space for exactly 12 lines of text displayed in this font.

Characters supported

Most, if not all, multi-byte characters are supported, including the Latin, Greek and Russian alphabets.

Example

Text in the status area and in eActivity line notes is displayed in this font:

1407155401.37.memodetail.png

16 px font

This is a variable-width font for which no syscalls are known. It appears to only be used to show app names in the Main Menu, unless the selected language is Chinese (in such case, the Main Menu app names are printed using the #18 px font).

Characters supported

The Latin alphabet, including special symbols, appears to be supported. It is not known if the Greek alphabet is supported. The Russian alphabet appears to be unsupported, because the official Russian language add-in explicitly contains the Main Menu names of the apps in English.

Example

Here's the Main Menu when the Portuguese language is selected, showing a variety of special characters:

1407158667.227.mainmenupt.png

10 px font

This is a variable-width font used with syscalls such as PrintMiniMini. The screen has space for 21 lines of text displayed in this font. Its space character is wider than most characters.

Characters supported

Most ASCII characters (0x00 to 0x7F) are supported. However, only a very limited subset of multi-byte characters is supported.

Example

The numbers on the graph axis are printed in this font:

1407158062.699.graph.png

And here's another example showing text printed in this font (at the bottom):

1407158164.323.minimini.png