Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
zawerf
8y ago
0 comments
Share
Figma (a UI design tool written in C++ compiled to JS using emscripten) talked about this briefly in their tech blog. They compiled FreeType to JS for rendering fonts to bitmaps:
https://blog.figma.com/building-a-professional-design-tool-o...
undefined | Better HN
0 comments
default
newest
oldest
constexpr
8y ago
Figma actually only uses FreeType for parsing fonts (fonts are rendered using a custom WebGL-based renderer). Figma uses HarfBuzz for text shaping, which is easy to run on the web with emscripten:
https://github.com/harfbuzz/harfbuzz
.
j
/
k
navigate · click thread line to collapse