Skip to content
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

Add support for text shaping #130

Open
RagibHasin opened this issue Jan 15, 2023 · 1 comment
Open

Add support for text shaping #130

RagibHasin opened this issue Jan 15, 2023 · 1 comment

Comments

@RagibHasin
Copy link
Contributor

As I understood the code, printpdf does no text shaping and generates a glyph ID for each code point.

In #73 @fschutt mentioned that, ideally, the shaping engine should be pluggable. Recently, yeslogic/allsorts has emerged as a viable option for text shaping and font substitution in pure Rust, which is already being used in production.

Is that plan still valid? If so, would it be acceptable to switch font subsetting to allsorts along with text shaping?

@fschutt
Copy link
Owner

fschutt commented Feb 28, 2023

Yeah I know about allsorts, but I never got around to migrating to allsorts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants