Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Displaying Emojis in Gimp Textbox using Segoe UI Emoji Font
#1
Hi everyone,
I'm new to this forum.


I'm encountering an issue with GIMP 2.10.36 (revision 1) on Windows 10.


I would like to display emojis from the Segoe UI Emoji font in a textbox, similar to the example shown below (apologies for the French language!):

   

But when I copy and paste the same string into a GIMP textbox, the emojis are displayed as black outlined emojis, like the example below:

   

Do you have any ideas on how I can resolve this issue and make the emojis display correctly as intended?

Thanks in advance for your help!
Reply
#2
I would not call this emoji's set a font set. I saw this. Fonts are about language after all.
If you can't install them into Gimp as a font set (local-user/.config/GIMP/2.10/fonts/ i n Linux) Then take a screenshot of the emojis and paste that into your work as a new layer.
Reply
#3
Hi Tas_mania,
Thank you for your prompt response!

I would prefer to avoid this kind of workaround if possible because I will need to repeat this process a high number of times, which would be quite annoying.
Reply
#4
Did you tried to change the language like said Tas_mania?

I mean THERE (on your screenshot):

   

To help you, copy/paste or drag and drop from your character map to see if it's in color when choosing a language

   
Patrice
Reply
#5
This could work. Find where the fonts are stored on your Windows machine. Then go to Gimp > Preferences.
Scroll down to Folders > Fonts an click on the + sign. Then add the location of these Microsoft licensed fonts. They may or may not be available but give it a try Smile

   
Reply
#6
I tried changing to several languages but it doesn't seem to make any difference.

The folder location for the licensed Microsoft fonts was already properly configured in the GIMP preferences.
Reply
#7
The easiest way by far is find the emoji on the web, then copy and paste. If that does not work then you can enter the emoji characters as unicode. Of couse you will need the unicode value something like U+1f352 edit: have a look here: https://en.wikipedia.org/wiki/Template:U...gle_emojis

In Gimp the first thing to do is set the text input mode to 'simple'  see: https://www.gimp-forum.net/Thread-Interp...6#pid37476

Then you can enter a value using Shift-CTRL-U and a value.

This example using Win10 / Gimp 2.10.36 and segoe UI font: https://i.imgur.com/cEjGyw3.mp4

Just for reference, (the whole thing is a 150 MB download) is https://github.com/googlefonts/noto-emoji  As well as the fonts all the svg files used in making the font are there.
Reply
#8
It seems that copying and pasting the emoji from the web or inputting it using its Unicode value doesn't make a difference.

What I didn't mention earlier is that it previously worked as expected on the same computer using the same version of GIMP.

Here is a previous project of mine:
   

As you can see, the emojis are displayed correctly. However, notice how strange the selection appears when I select the entire text within the box:
   

Now, observe what happens when I edit the text within the textbox (such as changing the text itself, the language used, or anything else). I only removed the last dot at the end of the sentence, and the emojis suddenly become black-outlined emojis (which might be hard to discern in the image due to the thinness of the lines):
   

Note that the selection in the second image appears as it would if the emojis were the ones shown in the third image.

Weird, isn't it ?
Reply
#9
(04-06-2024, 06:58 PM)Beuzbugz Wrote: Note that the selection in the second image appears as it would if the emojis were the ones shown in the third image.

Weird, isn't it ?

Yes, weird.  I do not know why unicode does not work with your Win 10 / Gimp 2.10

I have seen that scrambled selected text before when the whole text font is changed using the on-screen text tool rather than the text tool options. Also moving a file to another machine with different fonts causes problems.

This example, the file made with linux Gimp unicode / segoe UI , then the font changed to Tahoma. Open in Windows and I can get a default emoji when I try an edit.

https://i.imgur.com/UO6O1a6.mp4

You could try posting one of your Gimp .xcf files, maybe someone will comment.
Reply
#10
Hi Beuzbugz,
It would be interesting to compare permissions on your Gimp fonts with permissions on your MS fonts. They could be different.
There maybe some limitation in the Gimp version you are using. (missing libs, compile issues etc)
Reply


Forum Jump: