Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
26th December 2012, 13:14 | #1 | Link |
Registered User
Join Date: Sep 2012
Posts: 17
|
SSA/ASS font subset tool (shrink your fonts)
I made a small utility to take some SSA/ASS subtitles and fonts, parse it, and create stripped down fonts containing only the characters required (font subsets).
e.g If using only one character from a font, then it will strip the font so it too only contains that one character. Link: dead I found this quite useful for fonts that contained CJK characters (which are often ~3MB+ each) - practically all fonts are reduced to under 100KB each, and generally I found I could get most scripts working with fonts of a combined size of 150KB or less. Basic usage: Code:
1. Set mkvmerge/mkvextract paths: typochop -p "mkvmerge:/path/to/mkvmerge" "mkvextract:/path/to/mkvextract" 2. Feed it input (both fonts and subtitles): typochop -o . video.mkv typochop -o subsetted-fonts font-folder subs.ass Code:
1. Collect all fonts for a particular series into one folder. 2. Place all subtitles for that series into another folder typochop -o subset fonts-folder subtitles-folder This will generate font subsets specific to each episode. 1. Do as above, but use this for the command instead: typochop -a -o subset fonts-folder subtitles-folder This will generate one set of fonts that will work for any episode in that series. Last edited by pie; 27th February 2014 at 01:41. |
Tags |
ass, font, ssa, subset |
Thread Tools | Search this Thread |
Display Modes | |
|
|