I'm trying to draw images in my user interface that match the glyphs used for keyboard shortcuts in menus. ⌘ for Command, ⌥ for Option, etc.
This list has all of the keys and Unicode characters used, but Apple changed some in (at least) macOS 10.13 and 10.14. I've determined most of the new mappings, but I can't get them to actually match. The image below shows how the shortcuts look in the menu on the left and what they look like drawn in San Francisco on the right:
I'm specifically concerned with the Pg Up/Pg Down since it's overloading the up/down arrows. I've tried using U+1F861 WIDE-HEADED UPWARDS LIGHT BARB ARROW, but macOS doesn't recognize it.
If I load those Unicode characters into TextEdit and use Apple's downloadable SF Pro Display font, a bunch of the glyphs will forcibly switch to another font. The Left/Right/Up/Down arrows match the menus if I set the font to Lucinda Grande, but Clear is still distinctly different and Return is more squared. I've found the arrow with squared hook in Apple Symbols, but Font Book just lists a glyph number for it, not an assigned codepoint. I can't find any fonts that match the Home/End glyphs either, and those seem clearer in the menus than they are when I draw them.
Apple does use a bunch of the Unicode private use area for function keys in keyboard events (e.g. NSHomeFunctionKey), but those specifically don't have glyphs assigned to them.
What's the correct way to draw these keys so they match what the system shows? Either what glyphs am I missing, or what font(s) do I need to use?
