Based on source code contributed to the original FontBox project.
Copyright (c) 2006-2007, www.fontbox.org
