Skip to content

Bold text not rendering for some fonts at font-weight: 600 e.g. 'Segoe UI' #24305

Closed
@belzecue

Description

@belzecue

Description

I noticed this in my hosted 1.18.5 instance: bold wiki text was not showing as bold in latest Chrome browser. I went straight to try.gitea.io and reproduced the issue there on the current dev instance. Curiously, this issue does not present with Firefox, which renders the bold as expected, so it seems Chrome is rendering the same CSS differently [EDIT: more likely different fonts, as the Chrome instance was on Linux and the Firefox test was on a windows 10 box].

Video showing my experience:

desktop-2023-04-24_22.36.53.mp4

There seems to be two CSS definitions for STRONG that are related to this issue. When I disable one of them, as shown in the video, bold returns.

Gitea Version

try.gitea.io

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

1.20.0+dev-559-g75c62054a

Operating System

Linux (Debian)

How are you running Gitea?

try.gitea.io

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions