Commit graph

10 commits

Author SHA1 Message Date
Volker Krause 50d0703ae0 Enable readability-braces-around-statements 2022-03-09 23:29:56 +01:00
Alexander Lohnau 2f193a63de Convert license headers to SPDX 2021-06-10 08:11:56 +00:00
Albert Astals Cid 19d98d6a74 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-07-11 09:17:33 +02:00
Laurent Montel 516fb89d94 Use camelcase include. (scripted) 2020-07-08 13:54:37 +02:00
Jan Grulich a738c98c20 Add information about substituting font into properties dialog
Reviewers: aacid

Subscribers: pino, ngraham, okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D23027
2019-08-10 02:00:57 +02:00
Olivier CHURLAUD dd8fa351ce Fonts are scanned again by poppler5
Fonts are filtered as well to only appear once.

REVIEW: 128441
2016-07-13 23:46:43 +02:00
Albert Astals Cid 61964b930f And now okular coupled with poppler from 5 minutes ago has the hability to let you save to file fonts embedded into a pdf file
svn path=/trunk/KDE/kdegraphics/okular/; revision=840789
2008-08-01 20:26:22 +00:00
Pino Toscano f1d5e478ba init fix
svn path=/trunk/KDE/kdegraphics/okular/; revision=685658
2007-07-09 12:34:08 +00:00
Pino Toscano 3fd552ef21 Extend the FontInfo class to distinguish the different types of font embedding.
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
2007-07-08 16:07:37 +00:00
Pino Toscano e5037f45b1 Refator a bit the way Document and the generators use to read the font information from a document.
Instead of having a synchronous function that extracts all the information at once, use a function to read the fonts of a single page.
This way, we can get all the result step by step (aka page by page), and possibly in an asynchronous way.
The resuls of the font "scanning" are sent via signals, as well the end of the work.
So, instead of block waiting for the results of all the document at once, the Fonts tab in the properties dialog can have a progress bar with the progress, and the results (the fonts) that are added incrementally to the list.

Only two minor things are left:
- the process is always asynchronous at the moment, as the only generator that can provide this kind of information is the Poppler one (safe)
- there is no check for duplicate fonts
But they should be easy to solve.

svn path=/trunk/KDE/kdegraphics/okular/; revision=685002
2007-07-07 20:35:01 +00:00