[gs-devel] Problems using libgs
Albert Astals Cid
aacid at kde.org
Sat Nov 3 04:56:38 PDT 2007
A Dimarts 30 Octubre 2007, Ralph Giles va escriure:
> On Tue, Oct 30, 2007 at 10:47:00PM +0100, Albert Astals Cid wrote:
> > I've investigated more and i'm [almost] sure that this happens because gv
> > passes llx, lly, urx and ury and i'm just passing WidthxHeight so my
> > device does not has ImagingBBox while gv one has it and that's why i get
> > a "translated" rendering compared to gv one.
> I.e. gv parses the DSC comments to determine the bounding box, then
> passes an appropriate crop window to the x11 device through the X
> properties mechanism.
> The display device, however, doesn't have such a mechanism. I know there
> was a plan to do tile based rendering for viewers with the display
> device. Does anyone remember how the region of interest was going to be
> specified for that?
We fixed that using gsapi_run_string_continue with "x y translate"
More information about the gs-devel