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

Style class not processed #1

Open
johnthad opened this issue Apr 21, 2015 · 0 comments
Open

Style class not processed #1

johnthad opened this issue Apr 21, 2015 · 0 comments

Comments

@johnthad
Copy link

I have some HTML that includes the in the <style> element

    .grpdescr {
      font-size: 12pt;
      font-style: italic;
    }

In the HTML there is

    <br>DUNCAN, king of Scotland.<br>MALCOLM<br>DONALBAIN<br>
    <div class="grpdescr">...his sons.</div>
    <br>MACBETH<br>BANQUO<br>
    <div class="grpdescr">...generals of the king's army.</div>

But the SVG for grpdescr looks like

<text x="8" y="173" width="66" height="16" style="font-size:16px;font-weight:normal;font-variant:italic;font-family:Serif;fill:#000000;stroke:none">...his sons.</text>

when I would expect

<text x="8" y="173" width="66" height="12" style="font-size:12px;font-weight:normal;font-style:italic;font-family:Serif;fill:#000000;stroke:none">...his sons.</text>

I'm using 3.4 on the command line.

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