-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
Text widget is rendering consecutive multiple line breaks as single line break (\n) #991
Comments
It was working fine with version 3.7.1 |
Hi @DavBfr, any update? |
No update, it's a bug to be fixed. |
@DavBfr any update here? Is this issue from the Pdfium library? |
I checked, the issue starts from this commit 13f95f1 |
@deepak786 I also have the same problem |
@DavBfr any update on this? |
Any updates on this issue ? |
In ttf_parser file, function _parseGlyphs(), this is the if condition which may be causing this issue
if we change the condition to also check the advanceWidth
then it resolves this issue, but I want to confirm since I don't have enough knowledge about the ttf. I have learnt about this advance width definition from link https://docs.aspose.com/font/net/what-is-font/glyph/ If the above solution seems fine to you, then I will create the PR for the same. |
Yes please create a PR. We'll see what the automated tests have to say. |
I think this issue has been fixed some time ago already. |
I have tested with latest master (printing/example/main.dart with multiple line breaks), and this issue is present. |
Use the google font in the text style to reproduce the issue |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
The output seems to depend on the font used. If I use the default font, it works. |
Closing this stale issue because it has no activity. |
This is what I get when using the following code:
This pull request seems to fix the issue: |
any updates? |
HI, any updates on this issue? |
No, it didn't work |
The text was updated successfully, but these errors were encountered: