[cairo] postscript backend cut my text

Behdad Esfahbod behdad at behdad.org
Wed Sep 24 10:14:05 PDT 2008


Charles Doutriaux wrote:
> Doh!!!
> I'm sorry I forgot I rebuild with 1.6.4 last night.....
> 
> Ok the snipet I sent yesterday might have missed a cairo_save (i 
> probably forgot a copy/paste) but it is definately still missing a bunch 
> of XXXX
> when linking against 1.76.  and it works fine against 1.6.4 so i'll be 
> suing this for now

Can you send us before/after PS files?  Also, what happens if you generate PDF
or SVG instead?  What about image?  Three of us tried the code you sent and
couldn't reproduce the problem.

behdad


> hope this helps, and again sorry for the false hapy ending :(
> 
> For now i'm going to revert 1.6.4 for our stuff
> 
> thanks,
> 
> C.
> 
> 
> Charles Doutriaux wrote:
>> Hi Chris,
>>
>> Yes! that was it, adding a cairo_save(cr) right after creating the 
>> surface fixed it!
>>
>> Hum.. I'm not sure I understand why I need to do a save before i do 
>> anything else (since there's nothing on the page yet) but hey it works!
>>
>> Thanks a lot,
>>
>> C.
>>
>> PS: Thanks also for the pointer to cairo_trace
>>
>> C.
>>
>> Chris Wilson wrote:
>>   
>>> On Tue, 2008-09-23 at 15:38 -0700, Charles Doutriaux wrote:
>>>   
>>>     
>>>> I'm running inot a weird feature under cairo 1.7.6 and 1.7.2  (don't 
>>>> think it was in 1.6.4)
>>>>
>>>> Considering the attached piece of code, this used to work in previous 
>>>> version
>>>>     
>>>>       
>>> Behdad spotted that the snippet was missing an initial cairo_save().
>>> After adding that, the output looks like the axes for a graph, and
>>> importantly look the same for the image and PS backends, using both
>>> cairo-1.6 and master. This is the first hint of a regression with 1.7 so
>>> its important for us that we are able to resolve it before 1.8 (which
>>> Behdad keeps insisting is tomorrow ;-) If you please can verify the test
>>> case and also grab a couple of screenshots to serve as a reference.
>>>
>>> <plug>cairo-trace is a very useful tool for capture/replay of bugs:
>>> http://  cgit.freedesktop.org/~ickle/cairo-trace/</plug>
>>>   
>>>     
>> _______________________________________________
>> cairo mailing list
>> cairo at cairographics.org
>> http:// lists.cairographics.org/mailman/listinfo/cairo
>>
>>
>>   
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
> 


More information about the cairo mailing list