facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
56.15k stars 8.43k forks source link

Bug: Cyrillic title with icon #8725

Closed baur closed 1 year ago

baur commented 1 year ago

Have you read the Contributing Guidelines on issues?

Prerequisites

Description

Cyrillic title with icon

image

Latin title with icon

image

Reproducible demo

No response

Steps to reproduce

just type:

## topic

### 1️⃣ Первый
### 2️⃣ Второй
### 3️⃣ Третий

Expected behavior

normal text

Actual behavior

...

Your environment

Self-service

Josh-Cena commented 1 year ago

@baur I can't reproduce this.

image

I suspect it's a font issue.

baur commented 1 year ago

reproduced via docusaurus.new StackBlitz

image

baur commented 1 year ago

Please copy and paste the next code

## topic

### 2️⃣ Второй
### 1️⃣ First
### 3️⃣ Третий
### 1️⃣ Digit One

image

Josh-Cena commented 1 year ago
image

As you can tell from my screenshot, I'm using Mac, and on Mac, emojis always use a uniform font. I suspect there's something going on with Windows fonts, but lacking a Windows machine, I cannot debug this.

baur commented 1 year ago

lacking a Mac, I cannot check too )))

hrumhurum commented 1 year ago

This must be a font issue. I cannot repro it neither on Windows nor on Mac.

Josh-Cena commented 1 year ago

Going to close this because it looks platform-specific. I would encourage you to tweak your CSS and use a different font face or font weight.