2022-04-14 18:49:05 +02:00
|
|
|
# Salut Fonts
|
2022-04-14 18:34:44 +02:00
|
|
|
|
2022-04-14 18:49:05 +02:00
|
|
|
This is a family of manually drawn bitmap fonts.
|
|
|
|
Source files are in BDF format, which is simple and is still supported.
|
|
|
|
|
|
|
|
The mission of the project is to provide high quality multilingual font
|
|
|
|
for applications where using of widely available vector fonts
|
|
|
|
is impractical or aestetically unacceptable.
|
|
|
|
|
|
|
|
The origin of the name is the word of a latin origin
|
|
|
|
with the meaning "hello" or "greeting gesture"
|
|
|
|
used in some languages (French, Polish, Romanian).
|
|
|
|
|
|
|
|
## Installation and usage
|
|
|
|
|
|
|
|
On a Linux graphic environment, you can install them with font installer supplied with your DE,
|
|
|
|
or manually copy them to `.fonts` in your home directory,
|
|
|
|
and then chose the font in system settings.
|
2022-04-20 18:54:16 +02:00
|
|
|
However, some rendering libraries do not support BDF
|
|
|
|
(notable case is Pango 1.44 dropped support for FreeType in favor of HarfBuzz),
|
|
|
|
so you might not see bitmap fonts in some applications.
|
|
|
|
|
2022-04-24 17:02:42 +02:00
|
|
|
There's a method to build OTB (open-type bitmap) font from BDF with `fonttosfnt`.
|
|
|
|
The `opentype` target converts all fonts to OTB.
|
|
|
|
|
|
|
|
Also conversion to PCF is possible make target `pcf` does this thing to all
|
|
|
|
fonts by calling `bdftopsf` utility.
|
|
|
|
|
|
|
|
Original inctruction: https://fedoraproject.org/wiki/BitmapFontConversion
|
|
|
|
|
2022-07-05 17:09:40 +02:00
|
|
|
8x8, 14x8, 16x8 font can be installed in Linux console.
|
2022-04-20 18:54:16 +02:00
|
|
|
First, convert BDF to PSF (bdf2psf utility needed for this).
|
2022-07-05 17:09:40 +02:00
|
|
|
`make consolefonts` command will do the conversion for you.
|
2022-04-20 18:54:16 +02:00
|
|
|
Then, copy psf fonts from build/consolefonts to /usr/consolefonts or whereever
|
|
|
|
your distribution keeps .psf/.psf.gz files.
|
|
|
|
Finally use console-setup or similarly named service to configure
|
|
|
|
Linux to use your font (consult your distribution manual on how to do this).
|
2022-04-14 18:49:05 +02:00
|
|
|
|
|
|
|
## Project structure
|
|
|
|
|
|
|
|
There are several individual fonts in the family. They include:
|
|
|
|
- **Salut Sans**, a proportional font for general use.
|
|
|
|
- **Salut Mono**, a fixed width (monospaced) font designed for terminals.
|
|
|
|
|
|
|
|
They include several sizes and also bold and italic.
|
2022-07-05 17:09:40 +02:00
|
|
|
The monospaced font also include extended (1.4x width) and wide (double width) variant.
|
|
|
|
|
|
|
|
Font file name consists of:
|
|
|
|
|
|
|
|
````
|
|
|
|
salut-sans14y.bdf
|
|
|
|
| | | |||| |_|__ Filename extension
|
|
|
|
| | | ||||______ Option letters (zero or more)
|
|
|
|
| | | |||_______ Size (two digits)
|
|
|
|
| | |__|_________ Individual name (sans etc.) |_ Font name
|
|
|
|
|___|______________ Family name (always salut) |
|
|
|
|
````
|
|
|
|
|
|
|
|
Option letters include:
|
2023-01-26 23:11:08 +01:00
|
|
|
* c - Condensed (about 0.7x wide)
|
2022-07-05 17:09:40 +02:00
|
|
|
* y - Semiexpanded (about 1.2x wide)
|
|
|
|
* x - Extended (about 1.4x wide)
|
|
|
|
* w - Wide (2x wide)
|
|
|
|
* b - Bold
|
|
|
|
* i - Italic
|
|
|
|
|
|
|
|
Monospace font size widths:
|
|
|
|
````
|
|
|
|
height __________ width _________
|
|
|
|
4 6 7 8 11 12 16
|
|
|
|
8 08 08x 08w
|
2023-03-27 16:42:35 +02:00
|
|
|
11 11 11x 11w
|
2022-07-05 17:09:40 +02:00
|
|
|
12 12 12w
|
|
|
|
14 14 14y
|
|
|
|
16 16 16w
|
|
|
|
22 22
|
|
|
|
|
|
|
|
````
|