Fork of http://code.google.com/p/smartypdt/