Added support for registering pdf fonts, font color, border color, bk color and a fix to text size calculation when not latin character are in string

Added support for registering pdf fonts, font color, border color, bk
color and a fix to text size calculation when not latin character are
in string