Skip to content

Commit

Permalink
fix: use currentColor for divLine stroke (Firefox)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Feb 20, 2025
1 parent 1b169f4 commit 37bc7e3
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 @@ -466,7 +466,8 @@ void SvgDeviceContext::StartPage()
m_currentNode.append_attribute("type") = "text/css";
std::string css = "g.page-margin{font-family:Times,serif;} "
"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;} g.divLine{stroke:currentColor} "
"path{stroke:currentColor}";
// bounding box css - for debugging
// css += " g.bounding-box{stroke:red; stroke-width:10} "
// "g.content-bounding-box{stroke:blue; stroke-width:10}";
Expand Down

0 comments on commit 37bc7e3

Please sign in to comment.