Login  Register

Re: Lines pattern scaling

Posted by johnfound on Dec 15, 2024; 9:37pm
URL: https://forum.librecad.org/Lines-pattern-scaling-tp5725741p5725822.html

Well, it seems I have a working solution of the problem with the line scaling.

Here is the commit:

https://asm32.info/fossil/librecad/info/679836fcf52e840c

But some bugs and glitches are possible.

I have tested it on the display, print preview and pdf export and everything seems to be OK. But still there are too many combinations between the different line widths and line screen widths and this makes the code too complex.

Here is a dxf file, I used for the tests:

dashed-lines.dxf

The left "center line" and the right "fake center line" should always look equal if everything is OK.