4 ms·
yeah there's overhead with the fonts bundled in. we might change this, https://github.com/terrastruct/d2/discussions/132 https://github.com/terrastruct/d2/discu
by alixanderwang 4y ago
yeah there's overhead with the fonts bundled in. we might change this, https://github.com/terrastruct/d2/discussions/132 https://github.com/terrastruct/d2/discussions/132
i wasn't aware you could selectively choose characters for fonts, but that'd be ideal
- andix 4y agoMaybe don’t bundle the font by default? Can‘t you just use the standard system fonts like tailwind does, and gives quite good results? font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";