Update of bug #67409 (group groff):

             Assigned to:                    deri => None

    _______________________________________________________

Follow-up Comment #2:

Branden is correct, it looks like you are needing fonts. Most of the missing
ones are in google-noto-emoji.ttf, except for u2610 (Ballot Box) which seems
to be available in several text fonts, check with:-

fc-list ':charset=2610'|less -S

The only other problem is uFE0F, which is not an input character mapped to a
relevent glyph in any font. It is:-

Character: Non-printable U+FE0F
Name: VARIATION SELECTOR-16

Which is explained here:
<https://en.wikipedia.org/wiki/Variation_Selectors_(Unicode_block)>. So it is
intended to make the preceding emoji coloured, but, this is only viable with
TTF/OTF fonts and since groff only deals with postscript fonts, the conversion
from a .ttf to a .pfb font as part of installing the font for groff use, drops
the colour.

A little wrinkle is that if you are installing google-noto-emoji for groff,
afmtodit needs to use the attached emoji.map as the map file. Peter's
install-fonts.sh script has text.map hard coded, so you need to edit it to use
emoji.map.

If the fonts are correctly installed this should work:-

printf ".special NotoEmoji-Regular DejaVuSansR\nDeri
\s[24p]🎉👉🎈☐🍽🥂\n.pdfbookmark 1
🎉👉🎈☐🍽🥂"|test-groff -Tpdf -ms -k -F
/usr/local/share/groff/site-font/ -F /usr/share/groff/site-font | okular -

(there are two -F flags because I have got the two fonts needed in different
directories!!!

The result of the above command is in emoji.pdf, and was produced with the
current git version of groff. Also, I used groff's own pdf driver rather than
pdfroff which is now supported separately from groff. If your document
includes forward references within the document (one reason for using pdfroff)
you may have to use "pdfmom --roff" instead.

Finally, I got groff to produce a manual of all the glyphs it found in the
google-noto-emoji font (NotoEmoji-Regular.pdf), which I will try to attach
here but if that fails you can download it from
<http://chuzzlewit.co.uk/NotoEmoji-Regular.pdf>.

(file #57509, file #57510, file #57511)

    _______________________________________________________

Additional Item Attachment:

Name: emoji.map                      Size: 13KiB
    <https://file.savannah.gnu.org/file/emoji.map?file_id=57509>

Name: NotoEmoji-Regular.pdf          Size: 1MiB
    <https://file.savannah.gnu.org/file/NotoEmoji-Regular.pdf?file_id=57510>

Name: emoji.pdf                      Size: 19KiB
    <https://file.savannah.gnu.org/file/emoji.pdf?file_id=57511>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-93e94c53b21509aa1b97bb1fa64bc1f99e22b413.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67409>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to