Portal Application Fonts

Introduction

The portal applications in KreaTV can only use fonts which are included in the KreaTV bootimage. Fonts can not be dynamically downloaded over the network.

Loading Fonts

The browser automatically loads multiple fonts at startup, by doing a case-insensitive search for *.ttf and *.otf files in the directory

/usr/share/fonts
This can be memory consuming if too many fonts are included into the boot image.

The kreatv-font-kreativ IIP installs a regular font variant and a bold font variant in /usr/share/fonts.

It is possible to specify the default font family by adding a font=<familyname> option to the SVG Portal Application IIP. Example:

kreatv-app-ekioh-portal:font=kreativ

Selecting Fonts

In order to select which font to use in a page, the following mechanism is used: