Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When group <g> element has gradient fill, child text elements inherit it #10

Open
TrevorPage opened this issue Mar 29, 2013 · 0 comments
Assignees

Comments

@TrevorPage
Copy link
Owner

In following example, text should be white (when viewed in Inkscape) but is actually shown with the gradient:

<g
   id="abcd"
   transform="matrix(0.73981966,0,0,0.7515789,11.907041,9.6662007)"
   style="fill-opacity:1;fill:url(#linearGradient3843)">


         <text
     xml:space="preserve"
     style="font-size:64.37111664px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:-1.34106481px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Helvetica;-inkscape-font-specification:Helvetica"
     x="160.09323"
     y="50.767563"
     id="text3071"
     sodipodi:linespacing="125%"
     transform="scale(1.0079161,0.99214609)"><tspan
       sodipodi:role="line"
       id="tspan3073"
       x="160.09323"
       y="50.767563"
       style="font-size:53.64259338px;fill:#ffffff">1234</tspan></text>
@ghost ghost assigned TrevorPage Mar 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant