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
These complement each other rather than conflict. The SVG font-family list makes the intent explicit, while our fontdb ordering ensures it actually works during rasterization.
Action Required
When mermaid-rs-renderer releases their next version (likely v0.2.3 or v0.3.0):
# In Cargo.tomlmermaid-rs-renderer = { version = "0.2.3", default-features = false }
Summary
Upgrade to the next release of
mermaid-rs-renderer(after v0.2.2) to get emoji font fallback support at the SVG generation level.Background
mermaid-rs-renderer added emoji font families to the default SVG font-family attributes in commit ec47de0:
This is currently 8 commits after v0.2.2 and not yet in a release.
Benefits
Once we upgrade, we'll have defense in depth for emoji rendering:
.LastResortdoesn't interfereThese complement each other rather than conflict. The SVG font-family list makes the intent explicit, while our fontdb ordering ensures it actually works during rasterization.
Action Required
When mermaid-rs-renderer releases their next version (likely v0.2.3 or v0.3.0):
Then run:
cargo update cargo build cargo testNo code changes required - just a version bump.
Related