[PR #272] [MERGED] fix(web): Add sans-serif fallback for Inter font in CJK character sets #1586

Closed
opened 2026-03-02 11:58:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/272
Author: @kou029w
Created: 7/4/2024
Status: Merged
Merged: 7/5/2024
Merged by: @MohamedBassem

Base: mainHead: main


📝 Commits (1)

  • 28f9bc1 fix(web): Add sans-serif fallback for Inter font in CJK environments

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 apps/web/app/layout.tsx (+4 -1)

📄 Description

Thank you for creating such awesome software.

This PR addresses the issue of Inter fonts not loading for CJK (Chinese, Japanese, and Korean) character sets, resulting in an inconsistent appearance. To improve consistency of appearance, a sans-serif fallback is specified. This ensures that if the Inter font fails to load, the generic sans-serif font will be used to maintain a consistent look across different character sets.

Original:
Screenshot 2024-07-04 at 11-08-18 Hoarder

This PR:
Screenshot 2024-07-04 at 11-08-44 Hoarder

Input text: "日本語表示確認用サンプル文"


🔄 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/karakeep-app/karakeep/pull/272 **Author:** [@kou029w](https://github.com/kou029w) **Created:** 7/4/2024 **Status:** ✅ Merged **Merged:** 7/5/2024 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`28f9bc1`](https://github.com/karakeep-app/karakeep/commit/28f9bc19539b7eb7d4309b2fd52e363e6876301b) fix(web): Add sans-serif fallback for Inter font in CJK environments ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/app/layout.tsx` (+4 -1) </details> ### 📄 Description Thank you for creating such awesome software. This PR addresses the issue of Inter fonts not loading for CJK (Chinese, Japanese, and Korean) character sets, resulting in an inconsistent appearance. To improve consistency of appearance, a sans-serif fallback is specified. This ensures that if the Inter font fails to load, the generic sans-serif font will be used to maintain a consistent look across different character sets. Original: ![Screenshot 2024-07-04 at 11-08-18 Hoarder](https://github.com/hoarder-app/hoarder/assets/1730234/926d99a0-380c-48f0-bf63-386048da29be) This PR: ![Screenshot 2024-07-04 at 11-08-44 Hoarder](https://github.com/hoarder-app/hoarder/assets/1730234/2c4a2a38-44eb-4dee-975f-a7da3ad87f2e) Input text: "日本語表示確認用サンプル文" --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:58:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1586
No description provided.