Skip to content

I will look for you. I will find you. And I will print you. (If you're a Unicode glyph...)

License

Notifications You must be signed in to change notification settings

cormullion/Glyphy.jl

Repository files navigation

glyphy splash image

Glyphy

Glyphy is a small utility package that runs in the Julia REPL.

Glyphy searches through the names of glyphs in the Unicode glyph list and returns a list of the glyph names that match the search string.

using Glyphy
julia>  glyphy("peacock")

 1f99a  🦚        peacock           
found one glyph matching "peacock"

There might be a few:

julia> glyphy("smiling")

0263a   ☺   βœ“     white smiling face
0263b   ☻   βœ“     black smiling face
1f601   😁        grinning face with smiling eyes
1f603   πŸ˜ƒ        smiling face with open mouth
1f604   πŸ˜„        smiling face with open mouth and smiling eyes
1f605   πŸ˜…        smiling face with open mouth and cold sweat
1f606   πŸ˜†        smiling face with open mouth and tightly-closed eyes
1f607   πŸ˜‡        smiling face with halo
1f608   😈        smiling face with horns
1f60a   😊        smiling face with smiling eyes
1f60d   😍        smiling face with heart-shaped eyes
1f60e   😎        smiling face with sunglasses
1f619   πŸ˜™        kissing face with smiling eyes
1f638   😸        grinning cat face with smiling eyes
1f63a   😺        smiling cat face with open mouth
1f63b   😻        smiling cat face with heart-shaped eyes
1f642   πŸ™‚        slightly smiling face
1f92d   🀭        smiling face with smiling eyes and hand covering mouth
1f970   πŸ₯°        smiling face with smiling eyes and three hearts
1f972   πŸ₯²        smiling face with tear
 found 20 glyphs matching "smiling"

Here, the check mark indicates that the glyph is defined in the current release of the JuliaMono font (it doesn't know which font you're currently using in your terminal).

Glyphy can also look for the glyph with a specific integer code point. It's usual to type them as hexadecimal integers, so 0x2055, 0x1f638, etc.

julia> glyphy(0x1f638)

1f638   😸        grinning cat face with smiling eyes
You can enter this glyph by typing \:smile_cat:TAB

There are over 30,000 characters to search, so searches might take a few milliseconds...

The current version of Unicode is 14.0, released in 2021. The glyph list used by Glyphy is UnicodeData.txt from here.

About

I will look for you. I will find you. And I will print you. (If you're a Unicode glyph...)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages