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

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