harfbuzz / harfbuzzjs

Providing HarfBuzz shaping library for client/server side JavaScript projects
https://harfbuzz.github.io/harfbuzzjs/
Other
197 stars 34 forks source link

Compile hbjs.js from harfbuzz.ts #99

Open LeoDog896 opened 2 months ago

LeoDog896 commented 2 months ago

As of now, harfbuzzjs itself is untyped and requires explicitly using the harfbuzz.ts file - to avoid unnecessary duplication, the .js and .d.ts files could be generated instead.

lianghai commented 3 days ago

@khaledhosny, what’s actually the currently relationship between this harfbuzz.ts and the rest of this project?

khaledhosny commented 3 days ago

I don’t know. I don’t even know what .ts is (I’m not much of a web developer myself and I’m maintaining this project only because no one else does).

lianghai commented 3 days ago

Haha alright… I see. Yeah TypeScript (.ts) is JS with static type checking, usually compiled to JS for distribution. It’s difficult for me to read C++, but I’m quite comfortable with writing TS. Will see if I get to contribute and unify the JS and TS aspects of this repo.