Skip to content
Discussion options

You must be logged in to vote

It's two v12 changes stacking up, both intentional.

  1. mermaid-cli 12 embeds fonts by default. From the 12.0.0 release notes: "Fonts are now embedded into SVG files by default, which increases the size of .svg files. To disable this, use --no-font-embed." (#1189). The same release also bundles the Recursive and OpenSans fonts (#1190).
  2. Mermaid 12 changed the default look. Flowcharts now default to the new redux-color theme, which uses the "Recursive Variable" font, instead of default with "trebuchet ms", verdana, arial. The Mermaid 12 notes say to add layout: dagre, theme: default and look: classic to keep the old look.

So with the new theme the CLI embeds Recursive (that's your 4 @font-face …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nielsbasjes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants