minor enhancements to the previous pull request

* adds the missing error handling for the parseFont method which throws an error if a font definition is invalid
* enhances the readme (typo, whitespaces...)
* adds examples and fixes the existing one
* comments added