Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yeah there's overhead with the fonts bundled in. we might change this, https://github.com/terrastruct/d2/discussions/132

i wasn't aware you could selectively choose characters for fonts, but that'd be ideal



Maybe 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";




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: