Skip to content

In nodejs environment, I convert latex to SVG, and the fraction is scaled, but my rendering on the browser is normal #452

@lyxabymxlc

Description

@lyxabymxlc

I try to use mathjax to convert latex to svg.
This is the case in nodejs
image
It's found that 8/5 is scaled, It's hard for the customer to see clearly
But I use mathjax to convert latex to SVG on the browser, which is normal, as follows
image
It makes me wonder.
By comparing the SVG information, I found that in the nodejs environment, the SVG > Path tag has an extra attribute of "transform =" scale (0.707) "
image
This scaling operation will make the user think it is a bug
In nodejs environment, what can I do to get the same rendering effect as on the browser?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions