[okular] [Bug 392826] Crash when opening .xps file

Albert Astals Cid bugzilla_noreply at kde.org
Sun Apr 8 10:52:23 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=392826

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/oku
                   |                            |lar/985e06a2f572236df9637e9
                   |                            |590231b4caa2628ea
         Resolution|---                         |FIXED

--- Comment #1 from Albert Astals Cid <aacid at kde.org> ---
Git commit 985e06a2f572236df9637e9590231b4caa2628ea by Albert Astals Cid.
Committed on 08/04/2018 at 10:50.
Pushed by aacid into branch 'Applications/18.04'.

Fix crash in some more xps files

Some more tweaks to path resolving.

Don't prepend a / in entryPath if path already starts with /
Fonts can also have relative paths, so use the absolutePath before
calling getFontByName

M  +21   -16   generators/xps/generator_xps.cpp
M  +1    -0    generators/xps/generator_xps.h

https://commits.kde.org/okular/985e06a2f572236df9637e9590231b4caa2628ea

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list