List Info

Thread: Re: How can I help fixing issue 44747 ?




Re: How can I help fixing issue 44747 ?
user name
2007-09-27 15:37:35
Ludovic Bellon <Ludovic.bellonens-lyon.fr> writes:

> For instance, draw several dashed lines with width
0.38, 0.39, 0.40,
> 0.41, 0.42, 0.43 mm,  export as eps and see the
resulting file :
> thickness < 0.4 mm are exported as lines only,
whereas thickness >
> =0.4 mm are exported as filled rectangle with the
correct size
> increasing in steps of 0.01 mm.
> (see attached files). If it was just a rounding problem
then the
> smallest steps (0.01 mm) would be equal to the smallest
non zero line
> width (0.4 mm) I'd say, no ?
> 
Hi Ludovic,

yes, good catch. So, this calls for a bit of debugging - are
you in? 

I'd suspect something like bForceOne/bForceTwoPixel to fire
in
svx/source/svdraw/svdobj.cxx:ImpPrepareLineGeometry(). It's
more
unlikely that the SvtGraphicStroke in eps.cxx is
incorrectly
interpreted - rather, that this object comes in with wrong
values
already.

And still my statement holds, that things like this will be
much
easier to tackle after the drawing layer rework is
finished.

> PS : shall we continue this discussion in one of the
issues, say
> 44747 or 18607 ?
> 
It's still on topic here - though you might want to jump
into irc
(#dev.openoffice.org on freenode, I'm thorsten there), for
more
interactive discussions.

Cheers,

-- Thorsten

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribegraphics.openoffice.org
For additional commands, e-mail: dev-helpgraphics.openoffice.org


Re: How can I help fixing issue 44747 ?
user name
2007-09-28 09:46:34
Hi Thorsten,

> So, this calls for a bit of debugging - are you in?

>
> I'd suspect something like bForceOne/bForceTwoPixel to
fire in
> svx/source/svdraw/svdobj.cxx:ImpPrepareLineGeometry().
It's more
> unlikely that the SvtGraphicStroke in eps.cxx is
incorrectly
> interpreted - rather, that this object comes in with
wrong values
> already.

I've taken a quick look already, I'll see if I can get in
and  
understand how this piece of code works, and try something
useful  
(which is far from sure !). But before wasting too much of
my time  
(and yours), any hint on when the new drawing layer is
planed to be  
here ?

Cheers,

Ludovic.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribegraphics.openoffice.org
For additional commands, e-mail: dev-helpgraphics.openoffice.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )