okular/generators/spectre/DESIGN
Albert Astals Cid 402c93e622 Replace the ghostview generator by the spectre generator, both are based on libgs, but the spectre one is simpler
as it uses the yetToBeAnnounced freedesktop libspectre project. I'm actually adding libspectre sources for the kde4.0.x
timeframe as libspectre won't be released/packaged on time for 4.0 but will remove it for 4.1 and onwards.

libspectre is a shared project between okular and evince *hooraay* that aims to unify the developing of a layer on top of libgs

That closes my work on making ps *work* on okular for KDE 4.0, any reported problem will be of course investigated
Thanks for reading up to here :-D

svn path=/trunk/KDE/kdegraphics/okular/; revision=732860
2007-11-04 22:46:01 +00:00

13 lines
573 B
Plaintext

Quick Spectre Generator design explanation
--------------------------------------------
libgs has a limitation that there can only be a gs instance per process.
To overcome that problem there is zero (when no ps document has been opened)
or one GSRendererThread thread running (when on or more ps documents are open
in the same okular process)
As there is only one GSRendererThread for potentially N GSGenerator, the imageDone
signal from GSRendererThread also emits the request and the GSGenerator checks
if it is its request that was done or from another GSGenerator.