Skip to content

Conversation

@Aman071106
Copy link
Contributor

PR Description

Fixes "missing emoji" (tofu) rendering issues on Windows and Linux by explicitly adding platform-native emoji fonts to the fallback font list.

Previously, emoji were not rendering correctly because Flutter was falling back to fonts that do not include colored emoji glyphs.
This PR updates the typography token configuration to use proper system emoji fonts per platform.

Changes

Updated packages/apidash_design_system/lib/tokens/typography.dart:

  • Windows: Added Segoe UI Emoji (native emoji font)
  • Linux: Added Color Emoji (standard GNOME emoji font)
  • Android / Others: Fall back to Noto Color Emoji
  • iOS / macOS: Leave as null to use system-default Apple emoji (unchanged)

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with the project main branch before making this PR
  • I am using the latest Flutter stable branch
  • I have verified the fix manually (platform checks & font rendering confirmed)

Added/updated tests?

  • No, and this is why: This is a visual / platform-specific font rendering change.

OS on which you have developed and tested the feature?

  • Windows

Reference example

working-windows-emoji.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant