{"library":"otfcc-ttcize","title":"TrueType TTC Bundler with Glyph Sharing","description":"otfcc-ttcize is a command-line utility designed to bundle multiple TrueType (TTF) font files into a single TrueType Collection (TTC) file, with a focus on optimizing file size through glyph sharing. It is currently at version 0.10.2 and appears to be actively maintained as part of the broader otfcc toolchain, though specific release cadences are not explicitly stated. A key differentiator is its glyph sharing mechanism, which significantly reduces the final TTC file size by consolidating common glyphs across the bundled fonts. However, it's crucial to note that this glyph sharing functionality is *not* applicable to CFF (Compact Font Format) fonts, for which users are advised to consider `otf2otc` instead. The tool relies on external `otfcc` executables for its underlying font processing operations.","language":"javascript","status":"active","last_verified":"Thu Apr 23","install":{"commands":["npm install otfcc-ttcize"],"cli":{"name":"otfcc-ttcize","version":null}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# First, ensure otfcc tools (otfccdump, otfccbuild) are installed and in your PATH.\n# For example, install otfcc via npm globally if it's a wrapper, or directly from source.\n# npm install -g otfcc # (If otfcc has a CLI npm package)\n\n# Example: Bundle two TrueType fonts into a single TTC file.\n# The output TTC will have shared glyph data where possible.\notfcc-ttcize -o output.ttc input1.ttf input2.ttf input3.ttf\n\n# Example with gap mode for larger glyph sets and custom otfcc paths.\n# Note: Gap mode (-x) disables hint wrapping (-h).\notfcc-ttcize \\\n  -x \\\n  --otfccdump-command=\"/opt/local/bin/otfccdump\" \\\n  --otfccbuild-command=\"/opt/local/bin/otfccbuild\" \\\n  -o large_output.ttc fontA.ttf fontB.ttf","lang":"bash","description":"Demonstrates bundling multiple TrueType fonts into a TTC and using advanced options like gap mode and custom otfcc executable paths.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}