Sheet size in v2.09, single file mode

38 views
Skip to first unread message

Pierre Paul Landry

unread,
Nov 2, 2017, 4:57:17 PM11/2/17
to Stylus Labs Write Support
Hi Stylus Labs !

As I use Write more and more, I ran into an issue with the current version (v2.09/2.10) on both Android and Windows. It has to do with the single file setting. 
Specifically, in single file, the generated html file has a huge "canvas", 65535 x 65535. I looked at the generated html/svg for 3 cases:

  • File v2.09 single-file
    • path vector-effect='non-scaling-stroke' fill='none' stroke='#FF0000' stroke-width='1.000' d='M0.000 0.000 l 0.000 65535.000'/
    • ==>Notice the 65535, it is causing it to show as a huge page in browsers
  • File v2.09 multi-file
    • path vector-effect='non-scaling-stroke' fill='none' stroke='#FF0000' stroke-width='1.000' d='M0.000 0.000 l 0.000 65535.000'/
    • ==>Same as single file but since the svg file is enclosed in an Object tag (in the main html file) with a width=1500, then it is not an issue
  • File v2014
    • path class='ruleline' fill='none' stroke='#0000FF' stroke-width='1.000' d='M0.000 315.000 l 1500.000 0.000'/
    • Here, lines are explicitly generated, with the correct width / length
I hope that this can be fixed. 
Using multi-file is not the ideal situation for me, as I'm using this on both Windows and Android platforms, synced using Dropbox. 
The multi-file requires that the dependent svg files be marked as "available off-line" otherwise Write cannot find it and editing fails.

Pierre Paul Landry
InfoQube Designer

Reply all
Reply to author
Forward
0 new messages