Gimp-Forum.net
Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font (/Thread-Displaying-Emojis-in-Gimp-Textbox-using-Segoe-UI-Emoji-Font)

Pages: 1 2 3


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Beuzbugz - 04-10-2024

Quote:You could try posting one of your Gimp .xcf files, maybe someone will comment.

Here is a download link for the project that I mentioned in my previous post:
project.xcf

Quote:There maybe some limitation in the Gimp version you are using. (missing libs, compile issues etc)

Uninstalling and reinstalling GIMP doesn't solve my problem.


Quote:It would be interesting to compare permissions on your Gimp fonts with permissions on your MS fonts. They could be different.

How would you proceed ?


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Tas_mania - 04-10-2024

Quote:Uninstalling and reinstalling GIMP doesn't solve my problem.

It will not solve it if you are re-installing the same binary (or the same Gimp file.)

Quote:It would be interesting to compare permissions on your Gimp fonts with permissions on your MS fonts. They could be different.

How would you proceed ?

Permissions are called 'ownership' in Windows I think.

I have never understood the Windows way of doing ownership/permissions. If one font set is working and the other isn't try to make the ownership the same.


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - rich2005 - 04-10-2024

(04-10-2024, 09:00 AM)Beuzbugz Wrote: ..snip...
Here is a download link for the project that I mentioned in my previous post:
project.xcf

I get a "deleted" message for project.xcf


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Beuzbugz - 04-10-2024

Quote:I get a "deleted" message for project.xcf

Could you please try this link:
project.xcf

Quote:I have never understood the Windows way of doing ownership/permissions. If one font set is working and the other isn't try to make the ownership the same.

This issue doesn't seem to be related to permissions, as the Segoe UI Emoji font has the same permissions configuration as other fonts that are working perfectly.


I have made some additional investigation using the same font with different programs:

Windows Notepad:
[attachment=11633]

Notepad++:
[attachment=11632]

Gimp:
[attachment=11631]

All the text words appear to use the same font, but all the emojis are different.


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - rich2005 - 04-10-2024

Got it. Thanks for the file.

I can only comment on that file as it appears with my Win10 / Gimp 2.10.36  It is a lot simpler than I suspected.

For file when first opened, that text layer only contains characters from Calibri Bold. The color emojis are shown until you edit anything.

To fix, select an emoji, set the font in the on-canvas dialogue to segoe UI emoji. The text either side is still Colibri Bold but the emoji is segoe.

30 second demo https://i.imgur.com/FTVrZfz.mp4

Edit:  Showing in a different way, using the text information retained when you save a Gimp xcf file
Left side is your file Calibi Bold only Right side a mixture of Calibri Bold and Segoe UI emoji

[attachment=11634]

Edit Again:

Attached just the layer group xcf What does it look like on your Win 10 Gimp.


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Beuzbugz - 04-10-2024

I reproduced the steps from your demo, but unfortunately, it didn't help.

Note that you don't have the broken text selection as I shared in a previous screenshot.
Additionally, this problem occurs for me, not only in the project I shared, but also in a fresh project.

However, I'm curious about how you display the window with the text information in your screenshots. Could you share how you do that?


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - rich2005 - 04-10-2024

(04-10-2024, 04:40 PM)Beuzbugz Wrote: I reproduced the steps from your demo, but unfortunately, it didn't help.

Strange. Maybe English <> French setup perhaps keyboard ?

Quote:Note that you don't have the broken text selection as I shared in a previous screenshot.
Additionally, this problem occurs for me, not only in the project I shared, but also in a fresh project.

That is just your file. The only change setting the emoji as sego font. The lion I added as unicode 1f981

Quote:However, I'm curious about how you display the window with the text information in your screenshots. Could you share how you do that?

It is one of Ofnuts plugins from http://sourceforge.net/projects/gimp-tools/files/scripts/
look for text-info-0.1.py date 2014-08-26

It displays the text "parasite" information in a .xcf file when it is saved.
Open the saved file - do not edit anything
Select the text layer.
Right click in the Layers Dock and at the bottom is Show Text Information.

Useful with a file from a different computer, it can show missing fonts on the new computer. Also shows when there are many changes in fonts/size formatting

Edit; There is this bug report for Inkscape https://gitlab.com/inkscape/inbox/-/issues/6795 I wonder if it is the same problem with your Windows setup.


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Tas_mania - 04-10-2024

Sorry my replies over-simplified the issue.

Somebody has converted all the emojis to PNG and SVG files.

[attachment=11637]

I say it's a stretch regarding these emojis as a font set. These guys are not letters. I would forget the hoops and roundabouts and just paste them in where you want.
They are covered by a Microsoft license so get a lawyer if necessary Big Grin


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - rich2005 - 04-11-2024

I am beginning to suspect that there is more to the OP's problem than is known.  Windows 10 + the latest Gimp 2.10.36 works here, not any help, but then OP not able to use unicode with text input set to simple. ie. shift-ctrl-u 1f981 = lions head  or get a direct edit of his file to input a color emoji. This used to be a libcairo issue but AFAIK recently fixed.

I wonder if the OP would get a better result with say, the samj portable Gimp. ( https://samjcreations.blogspot.com/ scroll down to gimp-21036-portable-32-bits-et-64-bits, uses libcairo 1.18 )

Using svg's is a valid alternative, text on one layer, emoji svg on another. Microsoft copyright ? 
In post #7 I put this link https://github.com/googlefonts/noto-emoji A whole section there of svg files that go to make the font. Obviously not M$ Wink  You do need to download the zip to get all of them.  edit:   License is https://www.apache.org/licenses/LICENSE-2.0


RE: Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font - Beuzbugz - 04-11-2024

After further investigation, I discovered which emoji version my Gimp is displaying.
[attachment=11642]

Instead of using Windows 10 version:
[attachment=11643]

Source:
https://emojipedia.org/grinning-face

So my guess is that Gimp is correctly using Segoe UI Emoji font, but using the wrong version of it.

Do you have any ideas why Gimp would display the Windows 8 version instead of Windows 10 version?
(Let me remind you that I'm using Windows 10.)

EDIT:
I have noticed that Segoe UI Symbol uses the same emojis as GIMP.
[attachment=11644]