romgere / text2stl

3D text generator for 3D printing. EmberJs / Typescript / Three.js
https://text2stl.mestres.fr
46 stars 17 forks source link

Get rid of opentype.js #136

Open romgere opened 3 months ago

romgere commented 3 months ago

Project is now using a WebAssembly version of https://github.com/harfbuzz/harfbuzz to generate Glyph (https://github.com/romgere/text2stl/pull/131) but CFF font support was not correct & some issues start to appear (https://github.com/romgere/text2stl/pull/135).

To quickly fix the issue mentioned above, and restore previous behaviour, open.type.js has been restored to the project, only to determine the outline format of the font.

We need to figure out a way to do the same with harfbuzz & get rid of opentype.js dep.

romgere commented 3 months ago

Add visual test with CFF font to help preventing any regression