You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whether or not the used fonts have been loaded, affects the layout of
the boxes that Mermaid renders. For consistent results, fonts must be
loaded before the diagrams are rendered.
Closesmermaid-js#539
Whether or not the used fonts have been loaded, affects the layout of
the boxes that Mermaid renders. For consistent results, fonts must be
loaded before the diagrams are rendered.
Closes#539
Describe the bug
Using fontawesome (fa) icons clips text or icon from the end
To Reproduce
Steps to reproduce the behavior:
1/ Paste this graph on https://mermaid.live and it renders perfectly.
2/ Save this to a file called fa-examples.mmd and then run mmdc:
3/ Look at fa-examples.png and it has the icons clipped.
Expected behavior
mmdc should produce the same image as https://mermaid.live without the icons clipped.
Screenshots
What the FA icons look like on mermaid.live
What the FA icons look like in mmdc generated PNG file.
See attached screenshots.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: