mkfontscale - create an index of scalable font files for X


   mkfontscale [ -b ] [ -s ] [ -o filename ] [ -x suffix ] [ -a encoding ]
   ... [ -f fuzz ] [ -l ] [ -e directory ] [ -p prefix ] [ -r prefix  ]  [
   -n prefix ] [ -u | -U ] [ -v ] [ -- ] [ directory ] ...


   For each directory argument, mkfontscale reads all of the scalable font
   files in the directory.  For every font file found, an  X11  font  name
   (XLFD)  is  generated,  and is written together with the file name to a
   file fonts.scale in the directory.

   The resulting fonts.scale file should be checked and possibly  manually
   edited before being used as input for the mkfontdir(1) program.


   -b     read bitmap fonts.  By default, bitmap fonts are ignored.

   -s     ignore scalable fonts.  By default, scalable fonts are read.  If
          -b is set, this flag has the side effect of enabling the reading
          of fonts.scale files.

   -o filename
          send  program  output  to  filename;  default  is fonts.scale if
          bitmap fonts are not being read, and fonts.dir if they are.   If
          filename  is  relative,  it  is  created  in the directory being
          processed.  If it is the special value -, output is  written  to
          standard output.

   -x suffix
          exclude all files with the specified suffix.

   -a encoding
          add encoding to the list of encodings searched for.

   -f fuzz
          set  the  fraction  of  characters  that may be missing in large
          encodings to fuzz percent.  Defaults to 2%.

   -l     Write fonts.dir files suitable for implementations  that  cannot
          reencode  legacy fonts (BDF and PCF).  By default, it is assumed
          that the  implementation  can  reencode  Unicode-encoded  legacy

   -e     specifies a directory with encoding files.  Every such directory
          is scanned for encoding files, the list of which is then written
          to an "encodings.dir" file in every font directory.

   -p     Specifies  a  prefix that is prepended to the encoding file path
          names when they are written to the  "encodings.dir"  file.   The
          prefix  is prepended literally: if a `/' is required between the
          prefix and the path names, it must  be  supplied  explicitly  as
          part of the prefix.

   -r     Keep  non-absolute  encoding  directories in their relative form
          when writing  the  "encodings.dir"  file.   The  default  is  to
          convert relative encoding directories to absolute directories by
          prepending the  current  directory.   The  positioning  of  this
          options   is   significant,  as  this  option  only  applies  to
          subsequent -e options.

   -n     do not scan for fonts, do not write font directory files.   This
          option is useful when generating encoding directories only.

   -u, -U disable  (-u)  or  enable  (-U)  indexing  of  ISO  10646:1 font
          encodings (default: enabled).

   -v     print program version and exit.

   --     end of options.


   X(7), Xserver(1), mkfontdir(1), ttmkfdir(1), xfs(1), xset(1)


   The format of the fonts.scale, fonts.dir  and  encodings.dir  files  is
   documented in the mkfontdir(1) manual page.

   Mkfontscale  will  overwrite  any  fonts.scale file even if it has been

   mkfontscale -b -s -l is equivalent to mkfontdir.


   The version of mkfontscale included in this  X.Org  Foundation  release
   was  originally written by Juliusz Chroboczek <> for
   the XFree86 project.  The functionality of this program was inspired by
   the ttmkfdir utility by Joerg Pommnitz.


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.