-
Notifications
You must be signed in to change notification settings - Fork 258
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
{nb} text shaping breakage can't be worked around anymore #1287
Comments
Hi @philj56 Thank you for the report. This is in fact a known limitation:
Maybe the existing issue #1090 is enough to track this? |
Hi @Lucas-C, It's a known limitation, but you used to still be able to get page numbers to work by temporarily disabling text shaping just for the page number, then re-enabling it. This is no longer possible, so it seems like something else has changed internally and this might be a different issue, something like text shaping not being disabled when expected. (e.g. the example code given in #1090 no longer produces the same output). I think the information here is useful in addition to that in #1090, but I'm happy for them to be merged / handled however you see fit. |
You are right @philj56, the problem is elswewhere. I think I found the issue & fixed it in PR #1288 @allcontributors please add @philj56 for bug |
I've put up a pull request to add @philj56! 🎉 |
That's great, thanks for the quick reply and fix! |
@philj56 Could you please test if this issue is solved for you using the latest version of You can install it with: |
@Lucas-C Yup, that seems to be working fine now, thanks! |
Thank you for testing 👍 |
This fixup has been included in the new release published today: |
Related to #1090:
In fpdf2 2.7.7, it was possible to work around text shaping breaking
{nb}
by temporarily disabling it (as is done in the example in #1090). From 2.7.8 onwards, this is no longer possible; enabling text shaping once breaks all subsequent{nb}
s, even if it is disabled again.Minimal example:
With fpdf2 2.7.7:
With fpdf2 2.7.8+:
The text was updated successfully, but these errors were encountered: