Linux command
bdftopcf 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert BDF font to PCF
bdftopcf [font.bdf] > [font.pcf]
Convert with output file
bdftopcf -o [font.pcf] [font.bdf]
Create terminal font
bdftopcf -t [font.bdf] > [font.pcf]
Set MSB first bit order
bdftopcf -m [font.bdf] > [font.pcf]
Set glyph padding
bdftopcf -p4 [font.bdf] > [font.pcf]
说明
bdftopcf is an X11 font compiler that converts fonts from Bitmap Distribution Format (BDF) to Portable Compiled Format (PCF). PCF fonts can be read by any architecture while allowing fast reading on the target machine.
参数
- -o _outputfile_
- Write output to file instead of stdout
- -t
- Create terminal font with uniform glyph sizes for faster rendering
- -i
- Inhibit ink metrics computation
- -p_n_
- Set glyph padding to n bytes (1, 2, 4, or 8)
- -u_n_
- Set scanline unit to n bytes (1, 2, or 4)
- -m
- Set font bit order to MSB first
- -l
- Set font bit order to LSB first
- -M
- Set font byte order to MSB first
- -L
- Set font byte order to LSB first
FAQ
What is the bdftopcf command used for?
bdftopcf is an X11 font compiler that converts fonts from Bitmap Distribution Format (BDF) to Portable Compiled Format (PCF). PCF fonts can be read by any architecture while allowing fast reading on the target machine.
How do I run a basic bdftopcf example?
Run `bdftopcf [font.bdf] > [font.pcf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o _outputfile_ do in bdftopcf?
Write output to file instead of stdout