prawnpdf/prawn — pull request #427 by yob (2012-12-08 00:19:29+00:00)
Title: delegate to the AFM gem for parsing AFM files

This is another suggestion along the lines of the rc4 pull request. pdf-reader master depends on the afm gem for improved text rendering features. We may as well share code and avoid 3 AFM parsing classes in the ruby ecosystem.

Here's the dot points from the commit comments:

* reduces the responsibilities of the Prawn::Font::AFM class. It's about
adding the font to the ObjectStore and encoding text, not parsing a file
format.
* allows pdf-reader and prawn to share the same AFM parsing code. More
eyeballs, less repetition, etc.
* the afm gem is minimal, stable and tested