Fonts plugin

From Sit

Jump to: navigation, search
Fonts plugin
Plugin.png
Current version v0.11
Maintainer Paul Heaney
Download Download Download
Release status stable
This plugin is stable and ready for use on your production system.


Info.png Info: The fonts plugin requires version 3.60 or higher of SiT!

Font Plugin

The purpose of this plugin is to provide a number of Unicode fonts which to be used by the charting functions within SiT!. Without this plugin charts which contain non Latin characters contain 'strange'/incorrect characters this is due to GD using the built in font which contains only Latin characters.

This plugin makes it possible for the correct font to be used on a per user basis. by reading the language they are using to use SiT! and using the relevant font.

With this plugin we aim to support all the languages which SiT ships with a translation for so currently we ship with the following fonts:

Font Languages
LiberationSans-Regular.ttf en_GB,en-US,ru-RU,cy-GB,fr-FR,nl-NL,it-IT,es-MX,es-ES,es-CO,de-DE,da-DK,sl-SL,pt-PT,pt-BR,lt-LT
wqy-zenhei.ttc sh-TW,zh-CN
VL-PGothic-Regular.ttf ja-JP

Installation

  • Download the plugin
  • copy the contents of the archive to your plugins directory e.g. fonts.php > /srv/www/sit/plugins, fonts/ /srv/www/sit/plugins/
  • make SiT aware of the plugin, go to : SiT | Control Panel | Configuration
    • Locate Load Plugins in the bottom of the screen, and add fonts to the comma separated list.

This is the plugin installed and working.

Personal tools
project