[PATCH][REVIEW] use dash parameters from svg file

Christina Roßmanith ChrRossmanith at gmx.de
Fri Jun 15 14:41:30 PDT 2012


Hi,

finally a patch is ready for handling of dashes. I've removed all 
polygon emulation stuff. Svg has a more flexible way to define dashes.

1. ODF only permits one constant distance between dashes. Currently the 
average of all distances is taken.
2. The svg dash array is parsed up to the point where is can't be 
represented by ODF parameters. That should be better than rejecting the 
whole array and drawing a solid line.
3. Dash offset can't be represented at all.

Comments and nitpicking welcome...

As far as I can see now the emulated style id in the internal-style-ref 
attribute isn't used anywhere (id following after '$'). Keep it or 
remove it?

Christina


More information about the LibreOffice mailing list