fonttools

A library to manipulate font files from Python. (by fonttools)

Fonttools Alternatives

Similar projects and alternatives to fonttools

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better fonttools alternative or higher similarity.

fonttools reviews and mentions

Posts with mentions or reviews of fonttools. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-08.
  • The new Google Fonts: find what you’re looking for
    8 projects | news.ycombinator.com | 8 Sep 2023
    The tool parent and sibling comment listed allows you to do basic subsetting [1], and generates the formats you need. If you do this more often, it is of course useful to learn how to do this yourself. A commonly used tool is pyftsubset, part of fonttools [2]

    [1]: https://fonts.google.com/knowledge/glossary/subsetting

    [2]: https://github.com/fonttools/fonttools

  • Retro Pixel Font - A new font and the intro of how to make it
    2 projects | /r/fonts | 7 Feb 2023
    In short, I draw glyphs in png and use python to build fonts (by https://github.com/fonttools/fonttools ). I agreed on some rules and then everything became simple. No required professional font editer.
  • I created a language for font design using FontForge
    3 projects | /r/FontForge | 24 Oct 2022
  • Self-Hosting Fonts - No more excuses
    4 projects | dev.to | 29 Sep 2022
    What I like the most is that you can also download google-fonts and convert them automatically. Webfont-Kit-Generator uses fonttools (written in Python), that's pretty cool too.
  • How much do custom fonts affect an app size?
    3 projects | /r/iOSProgramming | 19 Jul 2022
    A drawback to icon fonts is that by default, you are carrying all of the glyphs in an icon font along for the ride. You can mitigate that by using a tool like fonttools to strip out the unused font glyphs.
  • Montserrat cyrillic issues?
    5 projects | /r/fonts | 17 Mar 2022
    If you want to look inside a font file, you can use the ttx command line tool (included with fontTools) to convert binary fonts to human-readable XML format. You can also open them in a font editor like FontForge or Glyphs if you want a GUI, but font editors may not show you everything that's inside the file.
  • 10 ways to speed up web font loading
    2 projects | dev.to | 10 Feb 2022
    Font subsetting means trimming your fonts down to only the characters you need. Subsetting can yield massive amounts of size savings without having any drawbacks as long as you are not using the characters you remove. The simplest way to do this is subsetting to remove languages that you do not use. For example, take Inter, one of the most popular fonts. If you include all languages, which includes the Latin alphabet, Cyrillic, Vietnamese, and Greek, the size of the WOFF2 font is 95kb. However, chances are you are not using all of those languages. If you remove all characters outside of the English language, the size is reduced to just 16kb! There are many ways to subset fonts, including Google Fonts (and by extension, Google Webfonts Helper), Everything Fonts, and fontTools.
  • The pdfplumber module is awesome
    2 projects | /r/Python | 18 Nov 2021
    If you're in the first case, here's a good place to start reading: https://github.com/adobe-type-tools/cmap-resources. If you're in either the second or the third case, you'll have to use a library like fontTools (see here: https://github.com/fonttools/fonttools) to query the font's cmap table in reverse---if the subsetter didn't strip it out when embedding the font, that is! Note that this isn't guaranteed to work or yield a unique result, especially with non-Latin scripts.
  • How I reduced Raveberry's transferred frontend code by 90%
    10 projects | /r/Raveberry | 3 Apr 2021
    Similar to the approach used for the css code, the fonts were also modified to only contain used symbols. A script parses html and javascript files to find used identifiers. Then, fonttools is used to create a subtyped font file with only these symbols. Since Raveberry only uses a small set of icons and Font Awesome provides a lot of them, this approach eliminates the vast majority. The resulting font files are 6.7KB and 2.3KB, much smaller than the original ones.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Nov 2023
    Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →

Stats

Basic fonttools repo stats
17
3,867
9.6
3 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com