Bug 439908 - Krita to support emojis in text entry
Summary: Krita to support emojis in text entry
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 4.4.3
Platform: Other Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-15 20:59 UTC by rasconazo
Modified: 2021-09-05 01:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
result of the introduction of the emoji (3.23 KB, image/jpeg)
2021-07-15 20:59 UTC, rasconazo
Details
image.gif (42 bytes, image/gif)
2021-09-05 01:42 UTC, rasconazo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rasconazo 2021-07-15 20:59:53 UTC
Created attachment 140098 [details]
result of the introduction of the emoji

SUMMARY


STEPS TO REPRODUCE
1. select text button
2. create text region
3. open text box
4. enter an emoji with win+.
5. save

OBSERVED RESULT
invisible red square

EXPECTED RESULT
🙂

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Alvin Wong 2021-07-17 06:19:40 UTC
You probably have black text on a black background. If you set the text to some other colour you would see the emoji rendered, but I know that's not the point...

Colour emoji fonts are just OpenType SVG fonts. On Windows 10, the "Segoe UI Emoji" font is available and is supported by DirectWrite, which is what Qt uses. You will notice that the emoji is shown coloured in the text editor dialog. I can't say how it handles on Linux. There is something about our rendering of SVG text that causes the colour fonts to not be rendered in colour, but it's probably fixable.

However, I would advice against intentionally using colour emoji for text in Krita even if this works. By having them inserted as text, you now depend on the emoji font being bundled by the system. If someone opens the file on another system, they might get a completely different look. I suggest adding the actual emoji as images (could be SVG) instead.
Comment 2 rasconazo 2021-09-05 01:42:40 UTC
Created attachment 141302 [details]
image.gif

you are right to put it in a different colour text emoji if they appear,
thank you[image: image.gif]



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Remitente
notificado con
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
05/09/21
03:42:19

El sáb, 17 jul 2021 a las 8:19, Alvin Wong (<bugzilla_noreply@kde.org>)
escribió:

> https://bugs.kde.org/show_bug.cgi?id=439908
>
> Alvin Wong <alvin@alvinhc.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |alvin@alvinhc.com
>              Status|REPORTED                    |CONFIRMED
>      Ever confirmed|0                           |1
>
> --- Comment #1 from Alvin Wong <alvin@alvinhc.com> ---
> You probably have black text on a black background. If you set the text to
> some
> other colour you would see the emoji rendered, but I know that's not the
> point...
>
> Colour emoji fonts are just OpenType SVG fonts. On Windows 10, the "Segoe
> UI
> Emoji" font is available and is supported by DirectWrite, which is what Qt
> uses. You will notice that the emoji is shown coloured in the text editor
> dialog. I can't say how it handles on Linux. There is something about our
> rendering of SVG text that causes the colour fonts to not be rendered in
> colour, but it's probably fixable.
>
> However, I would advice against intentionally using colour emoji for text
> in
> Krita even if this works. By having them inserted as text, you now depend
> on
> the emoji font being bundled by the system. If someone opens the file on
> another system, they might get a completely different look. I suggest
> adding
> the actual emoji as images (could be SVG) instead.
>
> --
> You are receiving this mail because:
> You reported the bug.