Skip to content

[BUG] Linux下无法以系统彩色字体显示emoji #632

@zf-zh

Description

@zf-zh

描述 Bug

  • 黑白符号: Linux 下 emoji 以黑白线条符号显示或者根本无法显示, 而没有使用系统 emoji fallback list 中的彩色 emoji 字体
  • 字体优先级异常: 即使使用系统 sans-serif fallback list 也无法彻底解决问题:
    • App 内英文字符并未优先以系统级配置的 sans serif 字体显示 (而是显示为系统默认字体), 怀疑该字体意外地获得了最高优先级且其中包含黑白 emoji 字体
    • 在系统 sans-serif fallback list 最前端手动加上一种彩色 emoji 字体后, 只有部分 emoji 能以该字体显示, 其余依旧保留原先的黑白符号
    • 只有中文字符能正确地从 fallback list 中找到配置的优先字体

复现步骤
复现该 Bug 的步骤:

  • 在 App 中任意位置显示 emoji

截图
Image
这里使用了 "🤓😃😆" 三个 emoji

系统信息

  • 设备型号: HUAWEI Matebook X Pro 2024
  • 系统版本: Ubuntu 24.04 LTS
  • 旦挞校园助手版本: 1.4.9 build 346 #b3bb597

Metadata

Metadata

Assignees

Labels

Complexity: MediumRequires identifying the problem's source and/or refactoring, but limited to one areabugSomething isn't workingcomplianceto comply with regulations and requirementsgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions