Bugs item #3522486, was opened at 2012-04-29 21:35
Message generated for change (Tracker Item Submitted) made by magsoft
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3522486&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxpdfdoc
Group: last released version
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Maycon A. Gasoto (magsoft)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems with width of chars like Á ã, etc

Initial Comment:
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];
  }

Thanks 
Maycon

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3522486&group_id=51305

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to