Permalink
Commits on Apr 5, 2011
  1. living dangerously

    committed Apr 5, 2011
Commits on Apr 2, 2011
  1. @Bluejade

    updated email address

    Bluejade committed Apr 2, 2011
  2. @Bluejade
Commits on Mar 30, 2011
  1. @practicingruby
  2. @practicingruby

    Fix Jonathan's name

    practicingruby committed Mar 30, 2011
  3. @practicingruby

    Add reference to license

    practicingruby committed Mar 30, 2011
  4. @practicingruby

    Add licensing info

    practicingruby committed Mar 30, 2011
Commits on Jan 27, 2011
  1. @yob
  2. @yob

    add a README and CHANGELOG

    yob committed Jan 27, 2011
  3. @yob

    tweak gemspec

    yob committed Jan 27, 2011
  4. @CodeMonkeySteve @yob
Commits on Dec 20, 2010
  1. @CodeMonkeySteve @bradediger
  2. @CodeMonkeySteve @bradediger
Commits on Jan 23, 2009
  1. @jamis
Commits on Jan 21, 2009
  1. @jamis

    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. @jamis
  2. @jamis

    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. @jamis

    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
  2. @jamis
Commits on Jan 4, 2009
  1. @jamis
  2. @jamis

    File#open, not File#new

    jamis committed Jan 4, 2009
  3. @jamis
Commits on Jan 3, 2009
  1. @jamis
Commits on Jan 2, 2009
  1. @jamis

    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. @jamis

    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. @jamis
  4. @jamis

    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
  5. @jamis
Commits on Jan 1, 2009
  1. @jamis
Commits on Dec 31, 2008
  1. @jamis
  2. @jamis
Commits on Dec 30, 2008
  1. @jamis
Commits on Dec 29, 2008
  1. @jamis

    offset is 258

    jamis committed Dec 29, 2008
Commits on Dec 27, 2008
  1. @jamis

    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. @jamis

    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