[wp-trac] [WordPress Trac] #33592: Unicode 8.0 Emoji
WordPress Trac
noreply at wordpress.org
Sat Aug 29 12:02:37 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):
[attachment:diverse-santa.png] uses Apple's skin tones, and changes the
eye colour for the darkest skin tone. Still needs tweaking, but it shows
that we can tweak these things on a per-tone basis.
{{{
skintone() {
local f
local key
local tonecode
local tone
local content
local tonecodes=(1f3fb 1f3fc 1f3fd 1f3fe 1f3ff)
local tones=(fadcbc e0bb95 bf8468 9b643d 594539)
local base=(1f385);
for f in "${base[@]}"; do
for key in "${!tonecodes[@]}"; do
tonecode="${tonecodes[$key]}"
tone="${tones[$key]}"
content=$(
cat "svg/$f.svg" |
sed "s/#d79e84/#$tone/g"
)
if [ $tone == "594539" ]
then
content=$(
echo "$content" |
sed "s/#662113/#101010/g"
)
fi
echo "svg/$f-$tonecode.svg"
echo "$content" >"svg/$f-$tonecode.svg"
done
done
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33592#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list