Pino Toscano
8585bb70ec
bump versions of comicbook and xps generators
15 years ago
Pino Toscano
89e7b03a3b
xps: set the correct mimetype in the document properties
15 years ago
Pino Toscano
250abf31a0
xps: introduce parseRscRefPath()
...
use it to either parse an abbreviate path data or (in the future) read paths from resources;
call parseRscRefPath() instead of parseAbbreviatedPathData() directly
15 years ago
Pino Toscano
eff172bddd
xps: ignore more elements when extracting text
15 years ago
Pino Toscano
f3799d700e
xps: allow also 'e' when parsing numbers from path strings
...
it indicates the exponential part of a real number, e.g. "3.54824e-005"
15 years ago
Pino Toscano
31a2e0af57
xps: use readFileOrDirectoryParts() also when creating a text page
...
just like it is done when rendering
CCBUG: 274482
15 years ago
Pino Toscano
7e0cfa2319
xps: load fonts with readFileOrDirectoryParts()
...
apparently, even those can be split in multiple chunks
CCBUG: 274482
15 years ago
Pino Toscano
a4ba73feb1
xps: split loadFile() in loadEntry() + loadFile()
...
loadEntry() retains the main entry loading logic (with the case insensitivity),
return just generic KArchiveEntry pointers
loadFile() just calls loadEntry(), returning the result if the entry is a file
15 years ago
Pino Toscano
fbe0c0764f
xps: more debug when parseAbbreviatedPathData() fails
15 years ago
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 years ago
Albert Astals Cid
e1ae8200d2
fix typo uncovereted by gcc4.6 new warnings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1230922
15 years ago
Pino Toscano
e6b98db3d0
bump some generators version number to the values of the 4.5 branch, plus increase if there was work/fixes done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1212170
15 years ago
Albert Astals Cid
a2905602ae
Protect us against "impossible" things (Qt not knowing a font we just added), probably fixes 250728
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1173928
16 years ago
John Layt
b30305b668
Enable Current Page option in Okular print dialog if running Qt >= 4.7
...
Changed exported api so cc: to bindings.
CCMAIL: kde-bindings@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134379
16 years ago
Glen Kaukola
122fab0eee
Krazy: Check single-char QString operations for efficiency.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110335
16 years ago
Pino Toscano
07e6cc3bb0
bump plugins versions to be in sync with kde 4.2 and, in case, consider more work being done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=989180
17 years ago
Brad Hards
78ef56d4b4
Improve text layout handling in XPS document generator.
...
Fixes bug 185532 (about RTL text), helps some more complex documents where characters often ended up overstriking characters from the next text run.
Add preliminary support for BiDi text.
OK'd by Pino at http://reviewboard.kde.org/r/715/
Blog request for additional testing produced no results, which I guess indicates a lack of interest.
svn path=/trunk/KDE/kdegraphics/okular/; revision=972031
17 years ago
Albert Astals Cid
d796459fb6
Add some userMutex to remove some helgrind warnings
...
May or may not fix bug 190336
Please try once KDE 4.2.3 is out if this still crashes for you
CCBUG: 190336
svn path=/trunk/KDE/kdegraphics/okular/; revision=957819
17 years ago
Pino Toscano
e468befe0f
bump versions (sync with kde 4.2)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=907921
17 years ago
Pino Toscano
050d5c32cf
void* -> QVariant conversion for the XpsRenderNode data
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=857098
18 years ago
Pino Toscano
7c6998b8ad
(oups) if the unicode string has no escape marking, return it as it is
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=857093
18 years ago
Pino Toscano
97f75cf299
start to handle the Unicode strings in a single way as specified in the specs, 5.1.4
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=856859
18 years ago
Pino Toscano
0ac1b55589
fill the rendering image only where needed
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=850680
18 years ago
Pino Toscano
9308f9b1af
SVN_SILENT i feel to have contributed in a significant way, so add me too
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=841468
18 years ago
Pino Toscano
2eb4dd8147
- extract the painter-based paint procedure of the XpsPage in an own method
...
- add printing support for the XPS backend
svn path=/trunk/KDE/kdegraphics/okular/; revision=841450
18 years ago
Pino Toscano
2329f93b84
more qreal/double mismatches
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=839972
18 years ago
Pino Toscano
64617bd429
implement the PolyQuadraticBezierSegment
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825763
18 years ago
Pino Toscano
674c8536d3
read and apply the opacity for canvas
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825717
18 years ago
Pino Toscano
73c67b1822
read and apply the clipping for glyphs
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825710
18 years ago
Pino Toscano
4225aac69e
Read and apply the transformations of <PathGeometry> and <Canvas> elements.
...
Now lots more document (of the test suite) display better, yay! :)
(although, there are regressions in very few documents, but that is due to other unhandled stuff in them.)
svn path=/trunk/KDE/kdegraphics/okular/; revision=825707
18 years ago
Pino Toscano
dc827f1ff3
start reading the geometries child of the Path element;
...
introduce ah-hoc structores for handling them;
so far, read PolyLineSegment and PolyBezierSegment only
svn path=/trunk/KDE/kdegraphics/okular/; revision=825705
18 years ago
Pino Toscano
a2d22d791b
SVN_SILENT update comments
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825482
18 years ago
Pino Toscano
075f0302cd
consider also the Stroke child of Path elements
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825466
18 years ago
Pino Toscano
76af0c2c40
add a method to load entries from the archive, also in a case-insensitive way, and apply it for image and font loading
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825457
18 years ago
Pino Toscano
b81251ead3
I feel worth bumping the version to 0.2, after all the work that has been done for Okular0.7/KDE 4.1.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825378
18 years ago
Pino Toscano
aa0ceffea3
SVN_SILENT unused includes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825377
18 years ago
Pino Toscano
018045758f
do not draw text in some situations the XPS spec tell us to not do that:
...
- missing Fill attribute and Glyphs.Fill child element
- brush color with alpha == 0
- Opacity attribute explicitely 0
svn path=/trunk/KDE/kdegraphics/okular/; revision=825375
18 years ago
Pino Toscano
046637703b
slightly refactor absolutePath(), and optionally un-percent-encode if the path contains any '%' char
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825370
18 years ago
Pino Toscano
0e86eef685
the document relationship file can be splitted too, so take care of that
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825362
18 years ago
Pino Toscano
fdd5704f8f
do not draw text with fontsize of 0 (as the specs say)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825360
18 years ago
Pino Toscano
47b8d5ab9c
fix gradient stop reading conditions
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825354
18 years ago
Pino Toscano
a6b1f61a02
read and set the spread style of gradients
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825349
18 years ago
Pino Toscano
68a539c394
first try at reading the style simulation of a font
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825335
18 years ago
Pino Toscano
fbab823b45
read the join style and the miter limit of strokes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825313
18 years ago
Pino Toscano
8e417e7bc8
first try at reading dash pattern, dash offset, and cap style of strokes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825305
18 years ago
Pino Toscano
4eb6413e37
pages can be interleaved in multiple files as well (10.1.2 in the specs)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825291
18 years ago
Pino Toscano
5c91487bbc
do not crash when requesting to load fonts we cannot load
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825287
18 years ago
Pino Toscano
af05a86e04
In case an image is not found, try uppercasing its extension and looking for it again.
...
(yay for case-insensitive contexts!)
svn path=/trunk/KDE/kdegraphics/okular/; revision=825261
18 years ago
Pino Toscano
f817bde307
Properly manage the gradient stops as the specs say;
...
parse the radial gradients.
svn path=/trunk/KDE/kdegraphics/okular/; revision=825253
18 years ago
Pino Toscano
0ff4a4a7a9
fix the H and V path operators
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=825251
18 years ago