diff --git a/HTML/EN/html/docs/fonts.html b/HTML/EN/html/docs/fonts.html deleted file mode 100644 index 4be2378191..0000000000 --- a/HTML/EN/html/docs/fonts.html +++ /dev/null @@ -1,85 +0,0 @@ -[% pagetitle = 'Font Files' %] -[% techinfo = '1' %] -[% lefttoright = '1' %] -[% PROCESS helpheader.html %] -
Font files reside in the Graphics folder
- -For each font set (one font for each line of the display) there's a separate BMP file. For example:
- -(Single-line display modes, such as the Huge font, only require the bottom font file.) - -
Open these files in a bitmap editor (photoshop, windows paint etc) and you'll see a long horizontal line of characters. - -
For SqueezeboxG, the file is 17 pixels high. For Squeezebox2/3/Transporter it is 33 pixels high. - -
The first 16 (SqueezeboxG) or 32 (Squeezebox2) rows -are the font bitmaps themselves. The last row is used to mark the beginning and end of characters. -One or more continuous pixels in this row indicate the end of the previous character. - -
Each file has up to 256 characters using the latin1 character set, in order from 0 to 255. - -
The first 31 characters in each standard font are reserved for use as special graphics characters. The first 17 of these are: - -
The inter-character spacing character must always be present. -However if any pixels are set in it, then the server interprets this -to mean no inter-character spacing. This is useful for font files -defining custom characters which are intented to be displayed without -space between them. - -
The 32nd character is a space character, and the rest follow the latin1 character set. - -
We used photoshop to create the font files, saving them as 1bpp Windows BMP files. - -
If you modify a font file, you'll need to restart the server -to see your changes. - -
Plugins may choose to use font files to define custom -characters to display on a graphics player. In this case the plugin -should be distributed with font files which follow the naming -convention: -
< fontname > . < line_number > . font . bmp -
These files should be placed in the plugin's root directory and the server -restarted before they are available to the server. - -
Custom fonts files define characters for the fontname specified by -the file name. The first character chr(0) defines the inter character -spacing and following characters define characters chr(1), chr(2), -chr(3) etc. -
Note also that character 0x0a [chr(10)] is reserved and should not -be used, as are characters 0x1b, 0x1c, 0x1d [chr(27) - chr(29]. -
Although a plugin may build strings using character values, it is -normal to register a name for each character using -Slim::Display::Graphics::setCustomChar. - -
See Display API for a description of how custom characters are displayed. - -
- -[% PROCESS helpfooter.html %] diff --git a/HTML/EN/html/docs/index.html b/HTML/EN/html/docs/index.html index 94af35da8e..447f78154d 100644 --- a/HTML/EN/html/docs/index.html +++ b/HTML/EN/html/docs/index.html @@ -11,7 +11,7 @@ [% PROCESS helpTopic href="plugins.html" title="Lyrion Music Server Plugins" %] [% PROCESS helpTopic href="buttons.html" title="Button Mapping" %] [% PROCESS helpTopic href="input.html" title="Input Modes" %] - [% PROCESS helpTopic href="fonts.html" title="Font Files" %] + [% PROCESS helpTopic href="https://lyrion.org/reference/ip3k-graphics/" title="Font Files" %] [% PROCESS helpTopic href="display.html" title="Display API" %] [%# PROCESS helpTopic href="protocol.html" title="The SLIMP3 Client Protocol" %] [% PROCESS helpTopic href="slimproto.html" title="The Squeezebox Client Protocol" %]