Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

bdftruncate (1)

Name

bdftruncate - encoded BDF font

Synopsis

/usr/bin/bdftruncate threshold < source.bdf > destination.bdf

Description

bdftruncate(1)              General Commands Manual             bdftruncate(1)



NAME
       bdftruncate  - generate truncated BDF font from ISO 10646-1-encoded BDF
       font

SYNOPSIS
       /usr/bin/bdftruncate threshold < source.bdf > destination.bdf

DESCRIPTION
       bdftruncate allows one to generate from an ISO10646-1 encoded BDF  font
       other  ISO10646-1  BDF  fonts in which all characters above a threshold
       code value are stored unencoded.  This is often desirable  because  the
       Xlib  API  and  X11 protocol data structures used for representing font
       metric information are extremely  inefficient  when  handling  sparsely
       populated fonts.

EXAMPLE
       The command
              bdftruncate 0x3200 < 6x13.bdf > 6x13t.bdf
       will  generate  the  file  6x13t.bdf  in which all glyphs with codes >=
       0x3200 will only be stored unencoded (i.e., they are encoded  at  code-
       point -1).

SEE ALSO
       ucs2any(1)

AUTHOR
       bdftruncate was written by Markus Kuhn.

       Branden  Robinson  wrote  this  manual  page, originally for the Debian
       Project.


ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
       +-----------------------------+-----------------------------+
       |Availability                 |x11/font-utilities           |
       +-----------------------------+-----------------------------+
       |Interface Stability          |Volatile                     |
       +-----------------------------+-----------------------------+



X Version 11                    font-util 1.3.0                 bdftruncate(1)