bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.33k stars 264 forks source link

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

Open esrevinue opened 5 days ago

esrevinue commented 5 days ago

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

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.

mirkobrombin commented 5 days ago

Which runner are you using?

esrevinue commented 4 days ago

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

mirkobrombin commented 4 days ago

Might a missing dependency in flatpak at this point

esrevinue commented 3 days ago

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 :)