Skip to content

Support for emojis #82

Closed
Closed

Description

@Nek-

Hello :D . Thanks for this terminal I like.

My idea is to make it even better by adding a "real" support for emojis. (currently, it depends on the font used)

Activity

  1. mintty commented on Jan 7, 2018

    @mintty
    Owner

    Sure it depends on the font. However, there are some special cases already (e.g. VT100 line drawing graphics) which are generated by mintty.
    So I would agree that mintty could display emojis independently from the font. This would further have the advantage of coloured emojis support (mintty/mintty#671 (comment), mintty/mintty#600 (comment)).

  2. mintty commented on Jan 7, 2018

    @mintty
    Owner

    However, there is some implementation effort to be expected:

    1. Provide emoji resources, i.e. graphic data, either as a set of images or as a (fallback) emoji reference font.
    2. Provide program access to the emoji graphics, i.e. find out how they can be loaded into an application.
    3. Handle the emoji characters and actually display the graphics for them.

    I am offering to take care of 3. if other people contribute 1. and 2.

  3. Nek- commented on Jan 7, 2018

    @Nek-
    Author

    For 1 I suggest Noto font from Google: https://www.google.com/get/noto/help/emoji/ what do you think? :)

    I've no idea about the implementation.

  4. mintty commented on Jan 7, 2018

    @mintty
    Owner

    Another good source is http://www.unicode.org/emoji/charts-11.0/full-emoji-list.html
    In this case, code would be needed to convert PNG data (given verbatim, not loaded from a file) into some drawable bitmap. For both scenarios (SVG or PNG), there do not seem to exist code examples.

  5. Nek- commented on Jan 7, 2018

    @Nek-
    Author

    What's cool with Noto is that it's an open font.

  6. mintty commented on Jan 8, 2018

    @mintty
    Owner

    Being cool does not help if there is no implementation available. The Windows API does not have a function to load an SVG into memory for display. And the colour font format is not supported either.

  7. Nek- commented on Jan 8, 2018

    @Nek-
    Author

    Let's rewrite mintty with Electron 😂 . More seriously. I assume there is no way to replace some chars with images.

    This issue is far from being fixed closed.

  8. mintty commented on Jan 8, 2018

    @mintty
    Owner

    Note that Noto Emoji cannot even be installed in Windows (see googlefonts/noto-emoji#43), so it's not an option to use it as a font.

    About your previous comment, sure it would be possible to replace specific characters with images (item 3 above, which I offered to take care of); the problem is how to handle the images.

    Also, this is not really an issue to be "fixed" because it's not a bug...

  9. mintty commented on Jan 23, 2018

    @mintty
    Owner

    Actually this was a challenge. I've uploaded a mintty source version with full Emoji support 🙂

  10. Nek- commented on Jan 25, 2018

    @Nek-
    Author

    Oh! Awesome. I will test as soon as I can. Didn't you commit the changes?

  11. mintty commented on Jan 25, 2018

    @mintty
    Owner

    It's a mintty feature, and commited there.
    For a local wsltty build, you could make minttyver=master.

  12. mintty commented on Feb 6, 2018

    @mintty
    Owner

    Released 1.8.4 with full emoji support.

  13. mintty commented on Apr 12, 2018

    @mintty
    Owner

    Released 1.8.5 with emoji "short names" display (in Character Info mode) and additional emoji attributes (mintty 2.8.5).

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions