Switch branches/tags
Nothing to show
Commits on Apr 5, 2011
  1. living dangerously

    committed Apr 5, 2011
Commits on Apr 2, 2011
  1. updated email address

    Bluejade committed Apr 2, 2011
Commits on Mar 30, 2011
  1. Fix Jonathan's name

    practicingruby committed Mar 30, 2011
  2. Add reference to license

    practicingruby committed Mar 30, 2011
  3. Add licensing info

    practicingruby committed Mar 30, 2011
Commits on Jan 27, 2011
  1. add a README and CHANGELOG

    yob committed Jan 27, 2011
  2. tweak gemspec

    yob committed Jan 27, 2011
Commits on Dec 20, 2010
Commits on Jan 23, 2009
Commits on Jan 21, 2009
  1. strip extended characters from postscript names

    This is extreme, but TTF fonts are _supposed_ to have ASCII
    postscript names anyway...
    jamis committed Jan 21, 2009
Commits on Jan 6, 2009
  1. Work around MS fonts with inaccurate kerning table metadata

    It looks like some MS fonts report their kerning subtable lengths
    wrong. In one case, the length was reported to be some 19366, and yet
    the table also claimed to hold 14148 pairs (each pair consisting of 6 bytes).
    You do the math!
    We're going to assume that the microsoft fonts hold only a single kerning
    subtable, which occupies the entire length of the kerning table. Worst
    case, we lose any other subtables that the font contains, but it's better
    than reading a truncated kerning table.
    And what's more, it appears to work. So.
    jamis committed Jan 6, 2009
Commits on Jan 5, 2009
  1. Reading the file in binary mode promotes world peace.

    Or, at least, it makes it so all strings read from the file
    are automatically encoded as BINARY. Which does a lot for
    MY peace. It's even compatible between 1.8 and 1.9!
    jamis committed Jan 5, 2009
Commits on Jan 4, 2009
  1. File#open, not File#new

    jamis committed Jan 4, 2009
Commits on Jan 3, 2009
Commits on Jan 2, 2009
  1. Expose the mapping from subset code to unicode

    This lets us more easily build ToUnicode cmaps in PDF's
    jamis committed Jan 2, 2009
  2. Tweaks so that font subsetting works with unicode-8bit subsets

    Specifically, always explicitly include glyph 0 in the subset
    at glyph index 0, and never assign characters to codes less
    than 32 (PDF doesn't, apparently, like that).
    jamis committed Jan 2, 2009
  3. Tweaks to make subsetting work in practice

    It turns out that #use is not as useful as I predicted. Should just
    merge that into #encode so it happens in a single pass.
    jamis committed Jan 2, 2009
Commits on Jan 1, 2009
Commits on Dec 31, 2008
Commits on Dec 30, 2008
Commits on Dec 29, 2008
  1. offset is 258

    jamis committed Dec 29, 2008
Commits on Dec 27, 2008
  1. TTFunk::Subset

    This class is a first pass at building a subset of a font.
    jamis committed Dec 27, 2008
Commits on Dec 26, 2008
  1. we really don't care that every glyph is fully decomposed

    Just parse enough of each glyph to be able to write it back out
    in a font subset
    jamis committed Dec 26, 2008