[syslinux] Font for cyrillic letters

ashark at linuxcomp.ru ashark at linuxcomp.ru
Sat Oct 26 19:08:16 PDT 2019


Thanks for your answers.

>  Within the "kbd" package for ArchLinux, I would suggest reading (for
>  some examples/hints):
>
>    usr/share/kbd/consolefonts/README.Cyrillic

Yeah, I have read that same file, but at the screenshots page http://alexandre.deverteuil.net/pages/consolefonts/
As I could understand from there, there are three types of fonts that supports cyrillic: Type A. Alt, Type B Koi8 and Type C ISO 8859-5.
And the only fonts that could be accepted by syslinux are only of type A, am I correct?

I still did not understand where did that blogger (from the page I linked at first message) got that font file.

I have ungzipped all files from usr/share/kbd/consolefonts (excluding partialfonts folder), then grepped v1 fonts. And there are very few of them:
file * | grep -v "Linux/i386 PC Screen Font v1"

eurlatgr.psfu:             Linux/i386 PC Screen Font v1 data, 512 characters, Unicode directory, 8x16
lat0-sun16.psfu:           Linux/i386 PC Screen Font v1 data, 256 characters, Unicode directory, 8x16
lat2-sun16.psfu:           Linux/i386 PC Screen Font v1 data, 256 characters, Unicode directory, 8x16
latarcyrheb-sun16.psfu:    Linux/i386 PC Screen Font v1 data, 512 characters, Unicode directory, 8x16
LatGrkCyr-8x16.psfu:       Linux/i386 PC Screen Font v1 data, 512 characters, Unicode directory, 8x16
pancyrillic.f16.psfu:      Linux/i386 PC Screen Font v1 data, 512 characters, Unicode directory, 8x16

In this list the only font that contains russian characters is LatGrkCyr-8x16.psfu https://alexandre.deverteuil.net/pages/consolefonts/#LatGrkCyr-8x16.psfu.
But it is 512-glyphs file. And russian letters seems to be located at the end, so behind 256 number, so unusable for syslinux. Am I correct?

I have found a similar question here: https://www.syslinux.org/archives/2017-June/025841.html
And that person says that he converted a font for syslinux:
> I'm using Syslinux 6.03. I'm using FONT command. I have converted 
> cp857.08, cp857.14 and cp857.16 these are KBD Project fonts to PSF file format.

So it that possible for me to make such "conversion" from for example for alt-8x16 font. Its file type is recognized just as "data".

Also, I have noticed that "file cp866-8x16.psf" is described as 16x8 font, while LatGrkCyr-8x16.psfu as 8x16. Does this matter?

Thanks.


More information about the Syslinux mailing list