Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Fonts do not work in prefixes created and launched by Bottles

Open esrevinue opened this issue 1 year ago • 5 comments

Describe the bug

Fonts displayed in a wine prefix do not look like correct. They are aliased and don't look like the fonts they are meant to be (i.e. Arial, Times New Roman etc.). I have tried copying my systems own Windows fonts (acquired through Windows installation media) into windows/Fonts in the bottle, soft linking them to windows/Fonts, installing the allfonts package, removing every font manually, but nothing works. The only thing that has an effect is increasing DPI, which eventually forces some apps to render fonts as I would expect them to. I have tried using the various wine versions Bottles provides, including my systems own version.

To Reproduce

  • Create new Bottle
  • Open Registry Editor (quickest way to see wine trying to render fonts)

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.13'
DE/WM: null
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.10.6-1-ck-generic-v4
Disk:
    Total: 16111640576
    Free: 16111493120
RAM:
    MemTotal: 30.0GiB
    MemAvailable: 20.2GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

My own wine prefix using my systems installed wine version displays fonts as I would expect, with no configuration.

EDIT: I installed Bottles through the AUR, and wine renders fonts correctly out of the box.

esrevinue avatar Oct 12 '24 01:10 esrevinue

Which runner are you using?

mirkobrombin avatar Oct 12 '24 13:10 mirkobrombin

All of them. I have tried every up to date runner available on Bottles.

esrevinue avatar Oct 12 '24 23:10 esrevinue

Might a missing dependency in flatpak at this point

mirkobrombin avatar Oct 13 '24 09:10 mirkobrombin

Would that be an issue on my end? To be clear, I have not made any attempts to do something bizarre like circumvent pacman's dependency checks :)

esrevinue avatar Oct 14 '24 09:10 esrevinue

I have the same issue, although my fonts are also messed up in the app itself. Im on fedora using the flatpak. Version 51.13 has correct fonts but after updating fonts are weird in bottles and any program run through it. Also noticed after updating from 51.13 I had to update mangoHUD and gamescope from branch 23.08 to 24.04 manually and without any warning except when triying to enable those features. Screenshot_20241018_130056 Screenshot_20241018_130121

To me it seems like a flatpak dependency issue.

SeppNel avatar Oct 18 '24 11:10 SeppNel

This issue has been automatically closed as part of a cleanup process to help the team manage issues more effectively.

If the problem still persists, feel free to comment and we will gladly reopen it.

github-actions[bot] avatar May 29 '25 23:05 github-actions[bot]