Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zawerf
· 8y ago · 0 comments
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...
Comments
[–]
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
.