-
-
Notifications
You must be signed in to change notification settings - Fork 710
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
Got u'o, ' between two lines. Expected nothing or a preserved line break #472
Comments
Please my friend, help! Give us the HTML document! |
Probably related to #417. |
code_html.txt |
I can't reproduce the problem. Could you please help me?
|
I am using libpango1.0-0 and CairoSVG 1.0.22. So, the font used inside html to conversion from pdf is "Trebuchet MS", Arial, Helvetica, sans-serif; Thank you for your attention. |
I roolback a version of the weasyprint to 0.23, and the error ocurred doesn't work. |
@PauloTeixeiraJunior Sorry, but that's not exactly what I wanted 😢. I'd like to have:
|
Sorry @liZe . Now take the version correctly.
But, i have tried some versions of weasyprint, and i find out that after version 0.30 this error happens. |
Do you forgot me? ;( |
No, I just don't spend my time fixing WeasyPrint's bugs.
If I can't reproduce the bug, I can't help you. To reproduce the bug, I need these informations. |
Sorry @liZe , I realy don't know find out this informations.
Again, sorry, sorry. Thank you for all. |
@liZe Were you able to reproduce the error? |
Please stop that. Asking me to help you again and again is not a solution, it just gives me a really good reason to ignore you.
Really? According to this version number, you're using a development version of an unstable branch of Cairo. It's not even tagged on the Cairo repository. Please attach a PDF, I'll find the information myself.
And no, I can't reproduce. Here is what I get: There's no comma in your HTML sample, but there's one in your error message. You didn't provide the HTML sample you have a problem with. Please try to be serious and give me good information, or I'll just close this issue (by the way, it's probably a duplicate of #417). |
Hi liZe I have the same problem as our friend Paulo, and found that in version 0.30 there is no such problem, but I can not use this version because I use document printing in two columns and version 0.34 solved this question. Attachment my html |
@gsvimieiro Thanks for this example, it's been fixed in 8109499 (first time I've seen three soft hyphens at the beginning of a line 😉). @PauloTeixeiraJunior Now that #417 and @gsvimieiro's bug are fixed, could you tell me if your problem is solved? |
Dear liZe I did not found version v0.37 . Do you have launch this release? |
No, I'd like you to test the current git version, I'll close this issue and release a new version if it works. |
Dear liZe I updated my version to 0.36 according to the following command: However the error remains ERROR 2017-06-08 08:49:47,454 creator 6783 140037945554688 Got u'o, ' between two lines. Expected nothing or a preserved line break |
Version 0.36 is not the current git version. You can install it with: |
OK liZe pip install git+https://github.com/Kozea/WeasyPrint.git Successfully built tinycss2 ERROR 2017-06-08 08:49:47,454 creator 6783 140037945554688 Got u'o, ' between two lines. Expected nothing or a preserved line break |
Dear liZe I'm Sorry The problem was browser caching. I updated my environment again and now it did not give more error. Thank you very much |
Hey @gsvimieiro, you've got exactly the same error as @PauloTeixeiraJunior? What a surprise! Are you some new kind of twins, or what? … Good to see that your issue is now fixed. |
Version 0.39 ------------ Released on 2017-06-24. Bug fixes: * Fix the use of WeasyPrint's URL fetcher with CairoSVG. Version 0.38 ------------ Released on 2017-06-16. Bug fixes: * `#477 <https://github.com/Kozea/WeasyPrint/issues/477>`_: Don't crash on font-face's src attributes with local functions. Version 0.37 ------------ Released on 2017-06-15. WeasyPrint now depends on tinycss2 instead of tinycss. New features: * `#437 <https://github.com/Kozea/WeasyPrint/issues/437>`_: Support local links in generated PDFs. Bug fixes: * `#412 <https://github.com/Kozea/WeasyPrint/issues/412>`_: Use a NullHandler log handler when WeasyPrint is used as a library. * `#417 <https://github.com/Kozea/WeasyPrint/issues/417>`_, `#472 <https://github.com/Kozea/WeasyPrint/issues/472>`_: Don't crash on some line breaks. * `#327 <https://github.com/Kozea/WeasyPrint/issues/327>`_: Don't crash with replaced elements with height set in percentages. * `#467 <https://github.com/Kozea/WeasyPrint/issues/467>`_: Remove incorrect line breaks. * `#446 <https://github.com/Kozea/WeasyPrint/pull/446>`_: Let the logging module do the string interpolation.
I use versions weasyprint 0.34 and Cairo 1.0.22
I am have this problem a long time, but so far don't find a solution for this.
Please my friends, help.
The text was updated successfully, but these errors were encountered: