UseTags


UseTags & wrap_text

The wrap text functions don't check if UseTags=TRUE. Doesn't this throws pdf_text_width() and pdf_GetNumFittingChars() calculations off leaving them in?

Stripping the tags, StripBoldItal() + strip color", would return a closer width calculation excluding the bold/italic font width differences. If each word is stripped in the text parameter sent to pdf_text_width() then the original word, including tags, could be appended to the line.


Syndicate content