Skip to content

Commit

Permalink
WIP: only set stroke for paths have no explicit stroke attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Feb 12, 2025
1 parent 8243030 commit 745b9de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/svgdevicecontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ void SvgDeviceContext::StartPage()
//"g.bounding-box{stroke:red; stroke-width:10} "
//"g.content-bounding-box{stroke:blue; stroke-width:10} "
"g.ending, g.fing, g.reh, g.tempo{font-weight:bold;} g.dir, g.dynam, "
"g.mNum{font-style:italic;} g.label{font-weight:normal;} path{stroke:currentColor}");
"g.mNum{font-style:italic;} g.label{font-weight:normal;}"
"path:not([stroke]){stroke:currentColor}");
m_currentNode = m_svgNodeStack.back();
}

Expand Down

0 comments on commit 745b9de

Please sign in to comment.