You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to design a phpunit test to detect tofu characters within a generated pdf. (If none of the fonts included in the pdf supports the language within the pdf, tofu characters will appear.)
First, I tried to get the pdf text, however the getText method always returns the correct unicode text, even if tofu characters are seen within the pdf.
Second, I've considered listing the available fonts and simply reviewing that all the required fonts are present.
I'm trying to design a phpunit test to detect tofu characters within a generated pdf. (If none of the fonts included in the pdf supports the language within the pdf, tofu characters will appear.)
First, I tried to get the pdf text, however the
getText
method always returns the correct unicode text, even if tofu characters are seen within the pdf.Second, I've considered listing the available fonts and simply reviewing that all the required fonts are present.
Would anyone have a better approach to suggest?
The text was updated successfully, but these errors were encountered: