Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zawerf
8y ago
0 comments
Save
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...
0 comments
1 comments · 1 top-level
top
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