By default embedded fonts? #8325
|
Because it is a very different question from https://github.com/orgs/mermaid-js/discussions/8317 I'm posting this separately. Assume this mmd file Then on my Linux machine with docker installed I do these two: I then have
As far as I can tell the difference is that 4 fonts have been embedded by default now. After adding
Why does the default now have all of these fonts included? |
Replies: 1 comment
|
It's two v12 changes stacking up, both intentional.
So with the new theme the CLI embeds Recursive (that's your 4 I reran your exact commands:
The 28679 is the new theme's CSS and markup, not fonts. If you want the new theme but a small file, use Which of the two are you after, the new look or the old one? |
It's two v12 changes stacking up, both intentional.
.svgfiles. To disable this, use--no-font-embed." (#1189). The same release also bundles the Recursive and OpenSans fonts (#1190).redux-colortheme, which uses the "Recursive Variable" font, instead ofdefaultwith"trebuchet ms", verdana, arial. The Mermaid 12 notes say to addlayout: dagre,theme: defaultandlook: classicto keep the old look.So with the new theme the CLI embeds Recursive (that's your 4
@font-face…