I am having problems with chars with accents making the rendering of text containing these chars compressed....
I have found the solution for this too...
In line 130 of file pdffontdatacore.cpp needs a (unsigned char) for correct mapping of table...
for (ch = t.begin(); ch != t.end(); ++ch)
- w += (*m_cw)[*ch];
+ w += (*m_cw)[(unsigned char)*ch];
Log in to post a comment.