Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/man/1/ttf2subf

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH TTF2SUBF 1
.SH NAME
ttf2subf \- convert glyphs in a TTF file to Subfont format
.SH SYNOPSIS
.B ttf2subf
[
.B -m
.I mode
]
[
.B -r
.I type
]
.I file
.I name
.I size
.SH DESCRIPTION
.I Tt2subf
convers the TTF file 
.I file
to the
.B subfont
format with name
.I name
and point size
.I size
The rendering modes
.B mono,
.B antialias
or
.B subpixel
can be specified with the
.B -m
option.
Use
.B -r
to set LCD display type to
.B rbg,
.B bgr,
.B vrgb
or
.B vbgr.
.SH EXAMPLE
Generate the
.B arialuni
subfont with point size 14, using RGB and subpixel mode and set the
environment variable
.B font
to the resulting
.I font.
.sp 1
.EX
% ttf2subf -m subpixel -r rgb arialuni.ttf arialuni 14
% font=arialuni/arialuni.14.font
.EE
.SH SOURCE
.B /sys/src/cmd/ttf2subf
.SH "SEE ALSO"
.IR bdf2subf (1) 
.IR subfont (2)
.IR cachechars (2)
.IR font (6) 
.IR utf (6)
.SH BUGS
Send bugs and fixes to
.I [email protected]

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].