Make WordPress Core

Opened 8 weeks ago

Last modified 3 weeks ago

#59008 new defect (bug)

Twenty Twenty-Three: problem with some international characters

Reported by: cvorko's profile cvorko Owned by:
Milestone: 6.4 Priority: normal
Severity: normal Version: 6.1
Component: Bundled Theme Keywords: has-patch needs-testing
Focuses: Cc:

Description (last modified by sabernhardt)

Theme Twenty Twenty-Three has default font DM Sans. When using this font, there are no characters for Croatian characters (čćžšđČĆŽŠĐ) and a replacement font is used.

In the attached image there is a sample WordPress text (showed when editing styles), and Croatian characters are marked - they are obviously in another font.

I can change the font, but beginners (at least in the first few days) use default theme and default font.

Attachments (2)

2023_DM_Sans_CRO.png (22.8 KB) - added by cvorko 8 weeks ago.
Text with some Croatian characters - not in default DM Sans font.
Latin-extended-with-patch.png (193.0 KB) - added by sabernhardt 4 weeks ago.
Latin Extended characters in DM Sans with PR 5123

Download all attachments as: .zip

Change History (6)

@cvorko
8 weeks ago

Text with some Croatian characters - not in default DM Sans font.

#1 @sabernhardt
8 weeks ago

  • Component changed from Themes to Bundled Theme
  • Description modified (diff)
  • Focuses ui removed
  • Keywords needs-patch added; reporter-feedback removed
  • Summary changed from Twenty Twenty-Three - 1.2 - problem with some international characters to Twenty Twenty-Three: problem with some international characters
  • Version changed from 6.3 to 6.1

Thanks for the report!

Twenty Twenty-Two's DM Sans files seem to include the Latin Extended characters, but Twenty Twenty-Three falls back to the browser's default sans-serif for those.

This ticket was mentioned in PR #5123 on WordPress/wordpress-develop by @sabernhardt.


4 weeks ago
#2

  • Keywords has-patch added; needs-patch removed

Uses WOFF2 files from the Google Fonts repository and adds font credits from Twenty Twenty-Two.

Trac 59008

@sabernhardt
4 weeks ago

Latin Extended characters in DM Sans with PR 5123

#3 @sabernhardt
4 weeks ago

The WOFF2 files from the Google Fonts repo include almost all of Latin Extended set A plus nine characters of set B. (I switched my default font to Comic Sans to make the missing characters from set A stand out more.) All ten of the Croatian examples would be supported with those files.

I also checked the theme's other three bundled fonts, and each already supports more characters in Extended-A than DM Sans. IBM Plex Mono only lacks ſ, Inter supports all but ʼn and ſ, and Source Serif Pro also has additional characters but does not have six of the glyphs found in the full DM Sans (Ĭ ĭ IJ ij Ǽ ǽ).

Last edited 3 weeks ago by sabernhardt (previous) (diff)

#4 @sabernhardt
3 weeks ago

  • Keywords needs-testing added
  • Milestone changed from Awaiting Review to 6.4
Note: See TracTickets for help on using tickets.