Skip to content

flatpak: missing emoji fonts in launcher #220

@draeath

Description

@draeath

This is a very low priority issue. On discord, someone confirmed that the Steam version of the launcher is not affected by this.


I noticed today that server names with emojis in them draw the emoji as a generic box character, despite the org.freedesktop.Platform runtime including files/share/fonts/noto-emoji/NotoColorEmoji.ttf which does include the characters I found missing.

Here's what it looks like on my system (opensuse tumbleweed):
Image

Here's my console rendering it correctly while dumping my launcher settings.db favorites table. Note I am using the same font for emojis on this system, though of course installed under /usr rather than the copy in the flatpak runtime:
Image

Finally, here's the font being included in the runtime:

draeath@ginnungagap:~> file $(flatpak info --user --show-location org.freedesktop.Platform)/files/share/fonts/noto-emoji/NotoColorEmoji.ttf
/home/draeath/.local/share/flatpak/runtime/org.freedesktop.Platform/x86_64/24.08/69f5ca3180618e77eb1264af2b67048fc1c6a2884ee403c76b24b0e15bfc16c9/files/share/fonts/noto-emoji/NotoColorEmoji.ttf: TrueType Font data, 13 tables, 1st "CBDT", 15 names, Microsoft, language 0x409, Copyright 2022 Google Inc.Noto Color EmojiRegularVersion 2.047;GOOG;noto-emoji:20240827:6c211821

I did notice that #84 references the noto sans font, presumably referencing this one: https://github.com/space-wizards/SS14.Launcher/tree/v0.31.0/SS14.Launcher/Assets/Fonts/noto_sans

I wonder if the noto emoji font needs to be bundled in as an asset and somehow made available to whatever it is that's responsible for font rendering in the launcher?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions