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

Pango-1.56 breaks file chooser fonts on Arch Linux #28882

Closed
cyberpunkrocker-zero opened this issue Jan 23, 2025 · 1 comment
Closed

Pango-1.56 breaks file chooser fonts on Arch Linux #28882

cyberpunkrocker-zero opened this issue Jan 23, 2025 · 1 comment
Labels

Comments

@cyberpunkrocker-zero
Copy link

Steps to reproduce

  1. Update pango from 1.54 to 1.56 on Arch Linux
  2. Try to use the system file chooser to add photos etc.

Expected behaviour

File chooser should be usable.

Actual behaviour

All the fonts on the file chooser are replaced with squares.
On the terminal i can see the following errors:

QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QRhiGles2: Failed to make context current. Expect bad things to happen.

(telegram-desktop:10702): Pango-WARNING **: 21:42:27.565: failed to create cairo scaled font, expect ugly output. the offending font is 'Open Sans 9.999'

(telegram-desktop:10702): Pango-WARNING **: 21:42:27.565: font_face status is: file not found

(telegram-desktop:10702): Pango-WARNING **: 21:42:27.565: scaled_font status is: file not found

(telegram-desktop:10702): Pango-WARNING **: 21:42:27.565: failed to create cairo scaled font, expect ugly output. the offending font is 'Open Sans 9.999'

(telegram-desktop:10702): Pango-WARNING **: 21:42:27.565: font_face status is: file not found

(telegram-desktop:10702): Pango-WARNING **: 21:42:27.565: scaled_font status is: file not found

Downgrading pango to 1.54 fixes the issue.
Bug report on Arch Linux: https://gitlab.archlinux.org/archlinux/packaging/packages/pango/-/issues/2

Operating system

Arch Linux

Version of Telegram Desktop

5.10.4

Installation source

Other (unofficial) source

Crash ID

No response

Logs

@ilya-fedin
Copy link
Contributor

tdesktop is not using pango, the problem is somewhere in third party libraries

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

3 participants