Revision 428d241...

Go back to digest for 4th December 2011

Bug Fixes in Graphics

Albert Astals Cid committed changes in [okular] /:

Remove the need for the hash so we can map back from words to characters

This is needed because sometimes the hash had collissions and make it impossible to know which character we had to put back
Now we just keep the word and the characters together in the same class and it is much easier to correlate them
Also the code gets much more simplified and less new/delete are needed

This fixes the crash in 287138

I am still concerted that we use the page width and height in TextPagePrivate::correctTextOrder, but that should not cause crashes, at most some misplacements of very small text

File Changes

Modified 2 files
  •   core/textpage.cpp
  •   core/textpage_p.h
2 files changed in total