[wp-trac] [WordPress Trac] #33592: Unicode 8.0 Emoji

WordPress Trac noreply at wordpress.org
Sat Aug 29 09:47:33 UTC 2015


#33592: Unicode 8.0 Emoji
----------------------------+-----------------------
 Reporter:  pento           |       Owner:  pento
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.4
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  emoji           |     Focuses:
----------------------------+-----------------------

Comment (by pento):

 I wrote an experimental modification to `svg.sh` to generate skintone
 variations of Twemoji:

 {{{
 skintone() {
   local f
   local key
   local tonecode
   local tone
   local content

   local tonecodes=(1f3fb 1f3fc 1f3fd 1f3fe 1f3ff)
   local tones=(ffe0c4 e2b98f dfa675 d79e84 5b0000)

   local normal=(1f385 1f466);

   for f in "${normal[@]}"; do
     for key in "${!tonecodes[@]}"; do
       tonecode="${tonecodes[$key]}"
       tone="${tones[$key]}"

       content=$(
         cat "svg/$f.svg" |
         sed "s/#d79e84/#$tone/g"
       )

       echo "svg/$f-$tonecode.svg"
       echo "$content" >"svg/$f-$tonecode.svg"
     done
   done
 }
 }}}

 Given [attachment:diverse-santa.png], it obviously needs tweaking, but
 it's a start.

 Unfortunately, that doesn't generate the PNG files, which are created from
 the AI files. We could probably figure out how to create them as a stop-
 gap until the official Twemoji update comes.

 My concern with this option is that I'm not aware of any Twitter contacts
 that anyone has - we may be waiting some time.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33592#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list