Not possible to set font in flamegraphs to default fonts
itamarst opened this issue · comments
Itamar Turner-Trauring commented
In CSS I can do:
body {
font-family: monospace;
}
but I can't do that with flamegraph, because it turns it into:
body {
font-family: "monospace";
}
which means "the font called monospace
" rather than "default monospace font".
Jon Gjengset commented
Ah, yes, that happens here:
Line 125 in b8b2f0d
I think we just need to teach that code path about the "special" font names so that it doesn't escape those! I'd be happy to take a look at a PR 👍