Make WordPress Core

Opened 5 months ago

Closed 5 months ago

#63963 closed defect (bug) (duplicate)

Twenty Fifteen: Rendering issues in Noto font (requires update)

Reported by: jonsurrell's profile jonsurrell Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description (last modified by jonsurrell)

The Noto font included with twentyfifteen is older and has some issues that are fixed in recent releases. The font does not reserve space for the backtick "`" character, so it overlaps the following character.

Backticks are often used to delimit inline code or a code block and it's especially distracting when they're not positioned correctly or stack so the number of backticks is unclear.

Here's the issue in Noto fonts.

I've tested the latest Noto release and it does not have this issue.

#63964 describes the same issue with Twenty Fifteen and Fira.

Attachments (3)

frontend.png (52.1 KB) - added by jonsurrell 5 months ago.
Backtick rendering issue on frontent
noto-editor.png (49.3 KB) - added by jonsurrell 5 months ago.
Backtick rendering in the editor
backtick-Noto.png (5.7 KB) - added by sabernhardt 5 months ago.
backtick and apostrophe characters in Noto Serif (paragraph) and Noto Sans (button)

Download all attachments as: .zip

Change History (9)

@jonsurrell
5 months ago

Backtick rendering issue on frontent

@jonsurrell
5 months ago

Backtick rendering in the editor

#1 @jonsurrell
5 months ago

  • Description modified (diff)

#2 @jonsurrell
5 months ago

  • Description modified (diff)

This ticket was mentioned in Slack in #themes by jonsurrell. View the logs.


5 months ago

#4 follow-up: @sabernhardt
5 months ago

Related: #59693, which focused on the U+02BC apostrophe in Noto Serif

I did not find a problem with the backtick (likely the U+0060 Grave Accent character when before a letter) or the apostrophe in Noto Sans (in the tagline).

#5 in reply to: ↑ 4 @jonsurrell
5 months ago

Replying to sabernhardt:

I did not find a problem with the backtick

Interesting! I wonder if it's platform dependent. I prepared a one-click playground that demonstrates the behavior for easier testing.

I'm testing on:

  • macOS 15.6.1
  • Chrome 140

I can see that the woff2 font is being used.

likely the U+0060 Grave Accent character when before a letter

Correct, the character used is U+0060 GRAVE ACCENT.

@sabernhardt
5 months ago

backtick and apostrophe characters in Noto Serif (paragraph) and Noto Sans (button)

#6 @sabernhardt
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

I had noticed the overlap with Noto Serif on Windows with Firefox, but Noto Sans did not overlap.

If you want to update your gist for both fonts, you could make the post content something like
<p>`backtick apostropheʼs</p><button>`backtick apostropheʼs</button>

I'll close the ticket as a duplicate of #59693. If more fonts need updating, that can be added to the first ticket.

Note: See TracTickets for help on using tickets.