[PR #178] [MERGED] Fix font aliasing on some Linux webkit #104

Closed
opened 2025-12-29 08:31:27 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/178
Author: @OHermesJunior
Created: 3/4/2025
Status: Merged
Merged: 3/6/2025
Merged by: @gschier

Base: masterHead: fix-font-rendering


📝 Commits (1)

  • 6a7b687 Fix font aliasing on webkit.

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 src-web/main.css (+6 -0)

📄 Description

Hi, love the app!

Font rendering on Linux (Ubuntu 22.04) looked very broken. I have seem this issue on other Tauri apps as well.
The only Tauri app I found without this issue is JetPilot, where I got this snippet from.

Now:
image

Patched:
image

I am not really sure that it looks perfect either, as it's not subpixel antialiased, but I think it's the best we can get on webkit gtk, and it's unusable without it.
I also cannot test it on windows/macos, so I understand if you don't accept this patch now.
Would be good to have feedback from other users on linux or macos, which may have the same problem with webkit.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/178 **Author:** [@OHermesJunior](https://github.com/OHermesJunior) **Created:** 3/4/2025 **Status:** ✅ Merged **Merged:** 3/6/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `master` ← **Head:** `fix-font-rendering` --- ### 📝 Commits (1) - [`6a7b687`](https://github.com/mountain-loop/yaak/commit/6a7b687fe15f63ba93b0fd69de6ee40203b2cb15) Fix font aliasing on webkit. ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src-web/main.css` (+6 -0) </details> ### 📄 Description Hi, love the app! Font rendering on Linux (Ubuntu 22.04) looked very broken. I have seem this issue on other Tauri apps as well. The only Tauri app I found without this issue is JetPilot, where I got this [snippet from.](https://github.com/unxsist/jet-pilot/blob/4d11eeb203d4a7205611134746ab64d580d3d7db/src/assets/main.postcss#L82-L86) Now: ![image](https://github.com/user-attachments/assets/a7442248-6973-4237-ab0b-3f8baaff452a) Patched: ![image](https://github.com/user-attachments/assets/892cf000-b225-4bd6-96a9-6fda68633359) I am not really sure that it looks perfect either, as it's not subpixel antialiased, but I think it's the best we can get on webkit gtk, and it's unusable without it. I also cannot test it on windows/macos, so I understand if you don't accept this patch now. Would be good to have feedback from other users on linux or macos, which may have the same problem with webkit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:31:27 +01:00
adam closed this issue 2025-12-29 08:31:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak-mountain-loop#104