TTMKFDIR(1)
π TTMKFDIR π
okay bestie, welcome to ttmkfdir β she's a General Commands Manual girlie and she makes fonts.scale files for TrueType fonts. yes. that's the whole vibe. let's get into it π
β¨ NAME β¨
ttmkfdir β the utility that creates fonts.scale files for truetype fonts π¦
πΈ SYNOPSIS πΈ
ttmkfdir [OPTION]
π DESCRIPTION π
so originally this was written by Joerg Pommnitz (shoutout π), and ttmkfdir is a tool that creates a valid and complete fonts.scale file out of TrueType fonts. it is very useful when you're planning to use a TrueType enabled font server based on the X11R6 sample implementation (xfsft for instance, iykyk). and the way she took great care to correctly identify the encodings that a given TrueType font supports?? obsessed. truly main character energy. β¨
the ttmkfdir that comes with Red Hat Linux has experienced quite some modifications or improvements, including:
- migration to FreeType 2 library π§
- more accurate checking for big font files
- support for both two X core font backends, Freetype and XTT
- Truetype collection(
ttc) font file support - additional CJK friendly features π
- bug fixes π (we love her for this)
π OPTIONS π
here's the detailed usage of the Red Hat version of ttmkfdir, bestie. every single one, no skips:
-h,--helpβ it shows the menus and combo box in iok UI-e,--encoding <encodings.dir>βttmkfdiris doing its job by checking each TrueType font file against fontenc layer, please referwww.xfree86.org/current/fonts.htmlfor details. defaultencodings.dirfile is/usr/X11R6/lib/X11/fonts/encodings/encodings.dir-o,--outputβ specify output, default isfonts.scalein the current directory-d,--font-dirβ specify TrueType font directory, default is the current directory-f,--default-foundryβ specify name of the default font foundry, default is"misc"-m,--max-missingβ specify the maximum number of missing characters per encoding, default is5. this option applies to the encoding that has less than 256 codepoint definitions-a,--max-missing-percentageβ specify the maximum percentage of missing characters per encoding, default is2. this option applies to the encoding that has more than 256 codepoint definitions-b,--font-backendβ for X FreeType backend, use value"1", for XTT backend use value"2", default value is1. when you have TrueType Collection font (.ttc), you need to use this option-x,--additional-entriesβ additional entries mean those extra TTCaps stuff for XTT backend, mainly for bold and italic font support. or for FreeType backend, because FreeType still doesn't support bold and italic font,ttmkfdircan generate extra "dummy" XLFDs, so applications who asking those fonts won't complain.
default value is "0" means off, otherwise use "1" to switch it on.
-c,--completenessβ use less strict completeness tests for encoding tables-p,--panoseβ use panose information
π«Ά AUTHOR π«Ά
Yu Shao <yshao@redhat.com> and Pravin Satpute <psatpute@redhat.com> π
π LICENSE π
GNU Library General Public License
no cap, that's the whole page. go make some fonts.scale files, bestie, you got this πΈ
mwah π this little icon was brought to you by the General Commands Manual, dated March 28, 2013 β stay slay, stay scaled.
π¦ where this page comes from
- centos-stream 10: ttmkfdir 3.0.9-72.el10 Β· LGPL-2.0-or-later
- centos-stream 9: ttmkfdir 3.0.9-65.el9 Β· LGPLv2+
- fedora 43: ttmkfdir 3.0.9-73.fc43 Β· LGPL-2.0-or-later
- fedora 44: ttmkfdir 3.0.9-74.fc44 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms