ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* SVG transparent stroke shown
@ 2021-05-07  3:43 Thangalin
  0 siblings, 0 replies; only message in thread
From: Thangalin @ 2021-05-07  3:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 750 bytes --]

Hi again!

% SOF\startbuffer[svg]
<svg width="247.038" height="208.251"><path fill="#fff"
stroke="transparent" d="M10 146.188V10h165.278v136.188z"/><path
fill="#eef4d7" stroke="#2e2e2e" d="M123.856 44.896h-77v62h77z"/></svg>
\stopbuffer

\starttext
  \placefigure{}{\includesvgbuffer[svg][conversion=mp]}
\stoptext
% EOF

Expected: No border around the outer white box, border around the inner
green box.

Actual: Border around both boxes.

Version: 2021.05.06

Additional details: The SVG is generated using GraphViz, which adds a white
box as the background with a transparent border. The GraphViz is being
invoked over a rest API. Even if the binary has a setting to change the
border colour, that setting probably isn't accessible via HTTP POST.

[-- Attachment #1.2: Type: text/html, Size: 1048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-07  3:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07  3:43 SVG transparent stroke shown Thangalin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).