-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
DeprecationWarning: transform is deprecated, use set_matrix instead (with latest pypdf version) #2318
Comments
Another one: ../env-312/lib/python3.12/site-packages/weasyprint/document.py:400: in write_pdf
pdf = generate_pdf(self, target, zoom, **options)
../env-312/lib/python3.12/site-packages/weasyprint/pdf/__init__.py:190: in generate_pdf
page.paint(stream, scale)
../env-312/lib/python3.12/site-packages/weasyprint/document.py:99: in paint
draw_page(self._page_box, stream)
../env-312/lib/python3.12/site-packages/weasyprint/draw.py:67: in draw_page
draw_stacking_context(stream, stacking_context)
../env-312/lib/python3.12/site-packages/weasyprint/draw.py:170: in draw_stacking_context
draw_stacking_context(stream, child_context)
../env-312/lib/python3.12/site-packages/weasyprint/draw.py:163: in draw_stacking_context
draw_inline_level(
../env-312/lib/python3.12/site-packages/weasyprint/draw.py:1230: in draw_inline_level
draw_text(
../env-312/lib/python3.12/site-packages/weasyprint/draw.py:1278: in draw_text
emojis = draw_first_line(
../env-312/lib/python3.12/site-packages/weasyprint/draw.py:1356: in draw_first_line
stream.text_matrix(*matrix.values)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <weasyprint.pdf.stream.Stream object at 0x7fc0bd7a5d60>, a = 1, b = 0, c = 0, d = -1, e = 83.0, f = 97.2578125
def text_matrix(self, a, b, c, d, e, f):
"""text_matrix is deprecated, use set_text_matrix instead."""
> warn(Stream.text_matrix.__doc__, DeprecationWarning)
E DeprecationWarning: text_matrix is deprecated, use set_text_matrix instead. |
Hi! The new pydyf API is used since dd7cee2, included in WeasyPrint 63.0. If you want to upgrade pydyf, you should upgrade WeasyPrint too! |
Ah, I see, I got 62.3 because of the pillow<11 issue (so Any ETA on 63.1 btw? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: