A
A
Artem00712020-11-17 13:17:42
PHP
Artem0071, 2020-11-17 13:17:42

How to make emoji work in ImageMagick?

It is necessary to display the text "hello world (here is an emoji with a globe)" in the

picture
new, different technologies are used from device to device and there is no specific technology standard"

I downloaded the Google font anyway, but nothing much has changed, just spaces in place of emoji

Also, it is advised to try some "pango". As far as I could figure out, it works with different encodings ( https://www.imagemagick.org/Usage/text/#pango )

I downloaded it, it installed (while breaking my imagick altogether)
But there seemed to be a problem with the paths, fixed them, it seems to work

But like the chela, I have a poppy, and I could not run the command with this pango (last comment):
https://www.imagemagick.org /discourse-server/viewt...
And the rest of the commands work properly

Installed pango, as well as imagemagick through brew

The command convert -list format | grep -i pangooutputs:
PANGO* PANGO --- Pango Markup Language
It turns out it was not installed? Although it is available in brew:

Warning: pango 1.48.0 is already installed and up-to-date
To reinstall 1.48.0, run `brew reinstall pango`


And in https://imagemagick.org/script/formats.php in the section about pango there is nothing similar about emoji, only that it arranges text and that's it..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2020-11-17
@SilenceOfWinter

1. you break the text into the actual text and emoticons
2. you insert emoticons as pictures, have you already guessed about the text?
...
3. profit!
no offense, but you have such a mess in your head ... how these pictures are displayed depends on the specific program, the fonts do not contain emoji in vector form (at least those that I saw)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question