Skip to content

Add Japanese to font-family - #5671

Closed
superuser7777 wants to merge 3 commits into
FreshRSS:edgefrom
superuser7777:edge
Closed

superuser7777 wants to merge 3 commits into
FreshRSS:edgefrom
superuser7777:edge

Conversation

@superuser7777

Copy link
Copy Markdown

Please consider changing the CSS as shown below.
This modification improves display readability for Japanese people.

Add
"Osaka",

Change before
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;

After change
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "Osaka", "PingFang SC", "Microsoft YaHei", sans-serif;

The Chinese fonts such as "PingFang SC" and "Microsoft YaHei" can be displayed like Japanese, but the kanji are greatly broken down, making them difficult for Japanese people to read.

--
Thank you for the great software!
I've migrated all my RSS readers to FreshRSS!

@Alkarex Alkarex added this to the 1.22.0 milestone Sep 25, 2023
@Alkarex

Alkarex commented Sep 25, 2023 •

Copy link
Copy Markdown
Member

We should probably update all the themes, which have overridden the base font definition, e.g.:

font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;

Edit: Done 3864634

@Alkarex

Alkarex commented Sep 25, 2023

Copy link
Copy Markdown
Member

Related to #1541

@hoilc if you are around, do you have any comment? For instance a negative consequence, we might have overlooked?

@Alkarex Alkarex changed the title Update base.css 783-contributing-file #5670 Add Japanese to font-family Sep 25, 2023
@Alkarex

Alkarex commented Sep 25, 2023

Copy link
Copy Markdown
Member

I am wondering whether adding (only) "Osaka" is the most appropriate fix. It seems to be only for Apple. Isn't e.g. "MS Gothic" more common?

@Alkarex
Alkarex requested a review from math-GH September 25, 2023 08:45
@Alkarex

Alkarex commented Sep 25, 2023

Copy link
Copy Markdown
Member

Note for later: we should add a way to tweak font parameters independently of the default settings proposed by the themes (we might have an issue somewhere already)

@math-GH math-GH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is very nice to know that FreshRSS is used in Japan too :)

Please support us here with screenshots "before" and "after" the change.

Please find another default font families that is installed on Windows by default. Linux would be fine too.

@Alkarex Alkarex modified the milestones: 1.22.0, 1.23.0 Oct 8, 2023
@math-GH

math-GH commented Oct 15, 2023

Copy link
Copy Markdown
Contributor

the conflicted files can be deleted to solve the conflict

@Alkarex Alkarex mentioned this pull request Nov 20, 2023
@Alkarex

Alkarex commented Nov 21, 2023

Copy link
Copy Markdown
Member

@superuser7777 Your feedback would be welcome in #5895 , for instance related to font selection and calendar selection (which calendar system do you use?)

@Alkarex Alkarex modified the milestones: 1.23.0, 1.24.0 Dec 20, 2023
@Alkarex Alkarex modified the milestones: 1.24.0, 1.25.0 Apr 1, 2024
@math-GH math-GH added the BLOCKED ❌ merge conflict or failing tests that block the PR label Jun 15, 2024
@Alkarex Alkarex modified the milestones: 1.25.0, 1.26.0 Nov 30, 2024
@Alkarex Alkarex modified the milestones: 1.26.0, 1.27.0 Feb 6, 2025
@Alkarex Alkarex modified the milestones: 1.27.0, 1.28.0 Aug 18, 2025
@Alkarex

Alkarex commented Jul 8, 2026

Copy link
Copy Markdown
Member

Alkarex pushed a commit that referenced this pull request Jul 9, 2026
Add a :lang(ja)-scoped font-family in the shared frss.css so kanji/kana
render with Japanese glyphs on Japanese UIs, without affecting Chinese
(zh-CN/zh-TW) users. Revives the intent of PR #5671 with a
cross-platform font list. frss.rtl.css is regenerated via rtlcss.

Co-authored-by: Claude Opus 4.8 <[email protected]>
@Alkarex Alkarex closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLOCKED ❌ merge conflict or failing tests that block the PR I18n 🌍 Translations Theme 🖌

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants