Closed adiloztaser closed 5 years ago
Nice patch, thank you.
The new unicode address after this patch is 61992 in decimal, and f228 in utf-16.
The previous unicode address was 61707, which looks to be sequential after the previous icon, email-alt2, which could suggest we simply forgot to apply the correct icon address. This converts to f10b in utf-16.
Two tasks now:
I reinstalled Glyphs Mini and opened the old Dashicons font, and it looks like this patch is correct:
But it looks like the hunch about email-alt2 was also correct :( it's f10b in the new font, and f465 in the old font:
It seems like it would be good for us to do a 1:1 comparison of ever icon in the old and the new font, and match the unicode addresses. I've a bit on my plate so could use some help here, it would probably go something like this:
I would suspect nearly all of the icons in the new font are in the correct addresses. But we should verify.
CC: @desrosj
Okay here's investigative work:
Icons that are new (and therefore codepoint doesn't matter):
Icons that are missing or weird:
NOTE that some of the above icons are currently stored in svg-unused, but since they ARE actually used they should be moved out of that folder
Codepoints that need fixing:
Next I'll try to take a stab at these codepoints, though note there are still some questions in the above that need answers.
Duplicate icons in the old:
Missing camera from the new:
Broken rest api icon:
Broken editor-ol-rtl icon:
Missing chunky menu icon:
obsolete twitter icon:
Editor RTL/LTR in the new font:
Editor RTL in the old:
When I was investigating why the mobile menu icon is not displaying properly in 5.2-alpha, I realized the icon unicode location is not as the old font was.
https://core.trac.wordpress.org/ticket/46611