+ conversion to PSF (console font)
This commit is contained in:
parent
494b2bf5ea
commit
ea4cdd9422
10
Makefile
10
Makefile
|
@ -16,3 +16,13 @@ check-coverage-sans :
|
|||
|
||||
check-coverage-mono :
|
||||
awk -f tools/check-coverage.awk mono/salut-mono*.bdf
|
||||
|
||||
.PHONY: psf
|
||||
|
||||
psf : build/consolefonts/Uni2-Salut16.psf
|
||||
psf : build/consolefonts/Uni2-Salut16b.psf
|
||||
|
||||
build/consolefonts/Uni2-Salut%.psf : mono/salut-mono%.bdf
|
||||
mkdir -p $(@D)
|
||||
bdf2psf $< /usr/share/bdf2psf/standard.equivalents /usr/share/bdf2psf/fontsets/Uni2.512 512 $@
|
||||
|
13
README.md
13
README.md
|
@ -16,8 +16,17 @@ used in some languages (French, Polish, Romanian).
|
|||
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.
|
||||
However, in many text rendering libraries they cut away BDF support,
|
||||
so fonts could not be displayed correctly in some applications.
|
||||
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.
|
||||
|
||||
16x8 font can be installed in Linux console.
|
||||
First, convert BDF to PSF (bdf2psf utility needed for this).
|
||||
`make psf` command will do conversion for you.
|
||||
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).
|
||||
|
||||
## Project structure
|
||||
|
||||
|
|
Loading…
Reference in New Issue