-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use pf-text with wasm #519
Comments
Ok, it looks like the rust-harfbuzz dependency includes harfbuzz, which can be transpiled using wasm32-unknown-emscripten target, but I didn't manage to get it to work with wasm32-unknown-unknown. Maybe harfbuzz should be replaced with some rust port (like rustybuzz)? |
It is not possible. I wrote a text render that works with pathfinder. It works on most latin an needs more testing for arabic and non-english scripts. |
@s3bk could you describe a little why it is not possible cause i am totally new in pathfinder and rust in general. |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
i guess it is possible if you manage to compile freetype and harfbuz for wasm. I figured writing it from scratch in rust was easier...
Sent with Proton Mail secure email.
------- Original Message -------
On Friday, August 19th, 2022 at 22:10, Artyom ***@***.***> wrote:
@s3bk could you describe a little why it is not possible cause i am totally new in pathfinder and rust in general.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail
wsBzBAEBCAAGBQJjALa/ACEJEMG+L+m8iAfZFiEEgs/vNiVgFnBzKm9swb4v
6byIB9kCtAf9Hs7ad7/Sxnw3wf+QQCq7r7IbFWgvyiXNqW06cYRBd7IhRjib
I8tftJ4qerPWmhFoBf8pABa0SuH8zZ/ha4n/nvF3AwzJz9sKolVi6SeTqeFu
ZgOvfF/BVhd4CmPTJILdXxGxSYTcr9E+3SlUc9pXLYOK0TRd8Niaod5S9nEN
kDzS2HxSnQ/APSaCm1TLxqlJV5j2+ZpquAtvjK3L6iIOsJJgjEmzy8l8z4tO
QUMMqBarXtVx/wCVgN2Ip3Xq6y6oZNZl1/KvbPBpES0mZv3vuXi/ntCIhHcY
1hGOx+64WF70FyS8JyFd5iS/8f72HDHIL826HTdqzmq9ECoznCcz7A==
=Vx7z
-----END PGP SIGNATURE-----
|
Is it possible to use
features = ["pf-text"]
with wasm? I have the next error during compilation:The text was updated successfully, but these errors were encountered: