[ man7.org ](../../../index.html) > Linux > [ man-pages ](../index.html) |  [ Linux/UNIX system programming training ](http://man7.org/training/)  
---|---  
  
* * *

#  psfaddtable(1) — Linux manual page

NAME  |  SYNOPSIS  |  DESCRIPTION  |  TABLE FILE FORMAT  |  SEE ALSO  |  COLOPHON   
---  
|  
      
    
    _PSFADDTABLE_(1)           General Commands Manual          _PSFADDTABLE_(1)
    

##  NAME  top

    
    
           psfaddtable - add a Unicode character table to a console font
    

##  SYNOPSIS  top

    
    
           **psfaddtable** _fontfile tablefile outfile_
    

##  DESCRIPTION  top

    
    
           **psfaddtable** takes a console font in .psf format given by _fontfile_
           and merges it with the Unicode character table given by _tablefile_
           to produce a font file with an embedded character table, which is
           written to _outfile_.  An input file name of "-" denotes standard
           input, and an output file name of "-" denotes standard output.
           If the _fontfile_ already contains an embedded character table, it
           is ignored.
    

##  TABLE FILE FORMAT  top

    
    
           Each line in the _tablefile_ should be either blank, contain a
           comment (preceded by _#_), or contain a sequence of numbers in
           either decimal (default), octal (preceded by _0_), or hexadecimal
           (preceded by _0x_) format, separated by spaces or tabs.  The first
           number on each line indicates the glyph slot in the font that is
           being referred to, this is between 0 and 0xff for a 256-character
           font and 0 and 0x1ff for a 512-character font.  Any subsequent
           numbers on the same line are Unicodes matched by this specific
           glyph slot.  Instead of a single Unicode one may have a sequence
           of Unicodes separates by commas, to denote that the glyph depicts
           the corresponding composed symbol.  It is permissible to have
           multiple lines for the same glyph.
    

##  SEE ALSO  top

    
    
           [setfont(8)](../man8/setfont.8.html), [psfgettable(1)](../man1/psfgettable.1.html), [psfstriptable(1)](../man1/psfstriptable.1.html), [psfxtable(1)](../man1/psfxtable.1.html)
    

##  COLOPHON  top

    
    
           This page is part of the _kbd_ (Linux keyboard tools) project.
           Information about the project can be found at 
           â¨<http://www.kbd-project.org/>â©.  If you have a bug report for this
           manual page, send it to kbd@lists.altlinux.org.  This page was
           obtained from the project's upstream Git repository
           â¨<https://github.com/legionus/kbd.git>â© on 2023-12-22.  (At that
           time, the date of the most recent commit that was found in the
           repository was 2023-12-13.)  If you discover any rendering
           problems in this HTML version of the page, or you believe there
           is a better or more up-to-date source for the page, or you have
           corrections or improvements to the information in this COLOPHON
           (which is _not_ part of the original manual page), send a mail to
           man-pages@man7.org
    
    kbd                            25 Oct 1994                _PSFADDTABLE_(1)
    

* * *

Pages that refer to this page: [ psfgettable(1) ](../man1/psfgettable.1.html)
, [ psfstriptable(1) ](../man1/psfstriptable.1.html) , [ psfxtable(1)
](../man1/psfxtable.1.html) , [ setfont(8) ](../man8/setfont.8.html)

* * *

* * *

HTML rendering created 2023-12-22 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.or