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

Bug: Watermark module is buggy #412

Open
2 tasks done
Annabel2 opened this issue Jan 18, 2025 · 1 comment
Open
2 tasks done

Bug: Watermark module is buggy #412

Annabel2 opened this issue Jan 18, 2025 · 1 comment
Labels

Comments

@Annabel2
Copy link

Code of Conduct

  • I have read this document and I accept the conditions

Search previous report

  • I have searched my issue

Computer's operating system

Linux

What GPU do you have ?

No GPU

Ansel version

./Desktop/Ansel-0.0.0+1099~ge2f5d0a0-x86_64.AppImage

Type of binary

Pre-built packages provided by the Ansel project (.AppImage, .EXE)

What happened?

With Simple Text selected in Watermark, the text does not display until you change the font, then it seems to work ok. This is not new in 1099. To reproduce -
Select "simple text svg", you get this -

Image

Not sure why it's showing that watermark since "text" is blank, but that's a minor detail as far as I'm concerned. Now type something into "text" and it doesn't appear -

Image

Now click the font dropdown and choose the next font in the list. Now it's ok and seems to work fine when I scale the font and change position.

Image

These lines have appeared in the Terminal window -

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.441: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 92824.21875'

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.441: font_face status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.441: scaled_font status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.442: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 92824.21875'

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.442: font_face status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.442: scaled_font status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-CRITICAL **: 11:06:15.468: pango_font_description_set_size: assertion 'size >= 0' failed

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.468: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans'

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.468: font_face status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.468: scaled_font status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-CRITICAL **: 11:06:15.470: pango_font_description_set_size: assertion 'size >= 0' failed

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.470: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans'

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.470: font_face status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:15.470: scaled_font status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-CRITICAL **: 11:06:16.977: pango_font_description_set_size: assertion 'size >= 0' failed

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:16.977: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans'

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:16.977: font_face status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:16.977: scaled_font status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-CRITICAL **: 11:06:16.979: pango_font_description_set_size: assertion 'size >= 0' failed

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:16.979: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans'

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:16.979: font_face status is: error occurred in libfreetype

(AppRun.wrapped:6019): Pango-WARNING **: 11:06:16.979: scaled_font status is: error occurred in libfreetype

Does your problem occur with OpenCL enabled ?

I don't know

Does your problem occur with OpenCL disabled ?

No

Previous Ansel version that use to work

No response

Output of ansel -d all

Backtrace

@Annabel2
Copy link
Author

Annabel2 commented Jan 18, 2025

Just to add...
If I restart Ansel and change the font back to the one that wasn't working, dejavu sans book, it's now working ok.
But if I reset the module things go wrong, I can't get text to display at all now.

@Jiyone Jiyone added the bug label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants