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

Some specific fonts crash in the font picker #1450

Open
Sunspark-007 opened this issue Dec 4, 2024 · 1 comment
Open

Some specific fonts crash in the font picker #1450

Sunspark-007 opened this issue Dec 4, 2024 · 1 comment
Labels
bug Something isn't working not our bug Needs to be fixed upstream or elsewhere

Comments

@Sunspark-007
Copy link

Describe the bug
Some specific fonts in the font picker list will display incorrectly (sans when they should be a serif) and selecting them causes the flatpak to crash.

To Reproduce
Steps to reproduce the behavior:

  1. Select Libertinus Serif Demi-Bold

Expected behavior
For the font to be selected.

Version:

  • Foliate version: 3.2.0
  • OS/Distribution and version: SteamOS 3.6.20
  • Desktop environment: KDE
  • Installation method: Flatpak

Additional context
https://github.com/alerque/libertinus/releases
You only need to install LibertinusSerif-Semibold.otf to test. The Regular face doesn't crash.
I am not sure where the issue is, BUT, selecting the font in Libreoffice GTK build doesn't cause a crash.. so there is a difference in the font picker code between foliate and libreoffice when it comes to selecting a font.

@Sunspark-007 Sunspark-007 added the bug Something isn't working label Dec 4, 2024
@johnfactotum
Copy link
Owner

LiberOffice uses its own widget, not GTK's font chooser. The font chooser in Foliate is. So this is a GTK bug.

@johnfactotum johnfactotum added the not our bug Needs to be fixed upstream or elsewhere label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not our bug Needs to be fixed upstream or elsewhere
Projects
None yet
Development

No branches or pull requests

2 participants