Skip to content

Commit 6f13b29

Browse files
committed
updates 1.5
1 parent df2920b commit 6f13b29

File tree

7 files changed

+5288
-78
lines changed

7 files changed

+5288
-78
lines changed

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
julia-version:
18-
- "1.6"
18+
- "1.10"
1919
- "nightly"
2020
os:
2121
- ubuntu-latest
@@ -27,12 +27,12 @@ jobs:
2727
julia-arch: x86
2828

2929
steps:
30-
- uses: actions/checkout@v2
31-
- uses: julia-actions/setup-julia@v1
30+
- uses: actions/checkout@v4
31+
- uses: julia-actions/setup-julia@v2
3232
with:
3333
version: ${{ matrix.julia-version }}
3434
arch: ${{ matrix.julia-arch }}
35-
- uses: actions/cache@v1
35+
- uses: actions/cache@v2
3636
env:
3737
cache-name: cache-artifacts
3838
with:
@@ -45,6 +45,8 @@ jobs:
4545
- uses: julia-actions/julia-buildpkg@v1
4646
- uses: julia-actions/julia-runtest@v1
4747
- uses: julia-actions/julia-processcoverage@v1
48-
- uses: codecov/codecov-action@v1
48+
- uses: codecov/codecov-action@v4
4949
with:
5050
file: lcov.info
51+
token: ${{ secrets.CODECOV_TOKEN }}
52+

Project.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name = "Glyphy"
22
uuid = "e3b492bb-b251-48f2-9293-5b5772365208"
33
authors = ["cormullion <[email protected]>"]
4-
version = "1.4.0"
4+
version = "1.5.0"
55

66
[deps]
77
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
88
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
99

1010
[compat]
1111
SQLite = "1.6.1"
12-
Tables = "1.10, 1.11"
12+
Tables = "1.10, 1.11, 1.12"
1313
julia = "1.6"
1414

1515
[extras]

README.md

+52-39
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,53 @@
44

55
# Glyphy
66

7-
Glyphy is a small utility package that searches through the names of glyphs in the Unicode
8-
glyph list and returns a list of the glyph names that match the search term.
7+
Glyphy is a small utility package that searches
8+
through the names of glyphs in the Unicode glyph
9+
list and returns a list of the glyph names that
10+
match the search term, and REPL shortcuts if
11+
available.
912

1013
```julia-term
1114
using Glyphy
15+
1216
julia> glyphy("peacock")
1317
14-
1f99a 🦚 peacock
18+
1f99a 🦚 peacock ⌨ \:peacock:
1519
found one glyph matching "peacock"
16-
```
20+
```
1721

1822
There might be a few:
1923

2024
```julia-term
2125
julia> glyphy("smiling")
2226
23-
0263a ☺ ✓ white smiling face
24-
0263b ☻ ✓ black smiling face
25-
1f601 😁 grinning face with smiling eyes
26-
1f603 😃 smiling face with open mouth
27-
1f604 😄 smiling face with open mouth and smiling eyes
28-
1f605 😅 smiling face with open mouth and cold sweat
29-
1f606 😆 smiling face with open mouth and tightly-closed eyes
30-
1f607 😇 smiling face with halo
31-
1f608 😈 smiling face with horns
32-
1f60a 😊 smiling face with smiling eyes
33-
1f60d 😍 smiling face with heart-shaped eyes
34-
1f60e 😎 smiling face with sunglasses
35-
1f619 😙 kissing face with smiling eyes
36-
1f638 😸 grinning cat face with smiling eyes
37-
1f63a 😺 smiling cat face with open mouth
38-
1f63b 😻 smiling cat face with heart-shaped eyes
39-
1f642 🙂 slightly smiling face
40-
1f92d 🤭 smiling face with smiling eyes and hand covering mouth
41-
1f970 🥰 smiling face with smiling eyes and three hearts
42-
1f972 🥲 smiling face with tear
43-
found 20 glyphs matching "smiling"
27+
0263a ☺ ✓ white smiling face ⌨ \:relaxed:
28+
0263b ☻ ✓ black smiling face ⌨ \blacksmiley
29+
1ccaa 𜲪 ✓ lower left quadrant smiling face
30+
1ccab 𜲫 ✓ lower right quadrant smiling face
31+
1f601 😁 grinning face with smiling eyes ⌨ \:grin:
32+
1f603 😃 smiling face with open mouth ⌨ \:smiley:
33+
1f604 😄 smiling face with open mouth and smiling eyes ⌨ \:smile:
34+
1f605 😅 smiling face with open mouth and cold sweat ⌨ \:sweat_smile:
35+
1f606 😆 smiling face with open mouth and tightly-closed eyes ⌨ \:laughing:
36+
1f607 😇 smiling face with halo ⌨ \:innocent:
37+
1f608 😈 smiling face with horns ⌨ \:smiling_imp:
38+
1f60a 😊 smiling face with smiling eyes ⌨ \:blush:
39+
1f60d 😍 smiling face with heart-shaped eyes ⌨ \:heart_eyes:
40+
1f60e 😎 smiling face with sunglasses ⌨ \:sunglasses:
41+
1f619 😙 kissing face with smiling eyes ⌨ \:kissing_smiling_eyes:
42+
1f638 😸 grinning cat face with smiling eyes ⌨ \:smile_cat:
43+
1f63a 😺 smiling cat face with open mouth ⌨ \:smiley_cat:
44+
1f63b 😻 smiling cat face with heart-shaped eyes ⌨ \:heart_eyes_cat:
45+
1f642 🙂 slightly smiling face ⌨ \:slightly_smiling_face:
46+
1f92d 🤭 smiling face with smiling eyes and hand covering mouth ⌨ \:face_with_hand_over_mouth:
47+
1f970 🥰 smiling face with smiling eyes and three hearts ⌨ \:smiling_face_with_3_hearts:
48+
1f972 🥲 smiling face with tear ⌨ \:smiling_face_with_tear:
49+
found 22 glyphs matching "smiling"
4450
```
4551

46-
Here, the check mark indicates that the glyph is defined in
47-
the current release of the JuliaMono font (it doesn't know
52+
Here, the check marks indicate that the glyph is available in
53+
the latest release of the JuliaMono font (it doesn't know
4854
which font you're currently using in your terminal).
4955

5056
Glyphy can also look for the glyph with a specific integer
@@ -54,14 +60,13 @@ so `0x2055`, `0x1f638`, etc.
5460
```julia-term
5561
julia> glyphy(0x1f638)
5662
57-
1f638 😸 grinning cat face with smiling eyes
58-
You can enter this glyph by typing \:smile_cat: TAB
63+
1f638 😸 grinning cat face with smiling eyes ⌨ \:smile_cat:
5964
```
6065

6166
You can look for ranges and arrays of values:
6267

6368
```julia-term
64-
julia-1.9> glyphy(0x32:0x7f)
69+
julia> glyphy(0x32:0x7f)
6570
6671
00032 2 ✓ digit two
6772
00033 3 ✓ digit three
@@ -73,28 +78,34 @@ julia-1.9> glyphy(0x32:0x7f)
7378
00039 9 ✓ digit nine
7479
...
7580
0007b { ✓ left curly bracket
76-
0007c | ✓ vertical line
81+
0007c ✓ vertical line
7782
0007d } ✓ right curly bracket
7883
0007e ~ ✓ tilde
7984
```
8085

8186
```julia-term
82-
julia-1.9> glyphy([0x63, 0x2020, 0x2640])
87+
julia> glyphy([0x63, 0x2020, 0x2640])
8388
8489
00063 c ✓ latin small letter c
85-
02020 † ✓ dagger
86-
02640 ♀ ✓ female sign
90+
02020 † ✓ dagger ⌨ \dagger
91+
02640 ♀ ✓ female sign ⌨ \female
8792
```
8893

8994
```julia-term
90-
julia-1.9> glyphy("^z.*")
95+
julia> glyphy("^z.*")
9196
9297
0200b ​ zero width space
9398
0200c ‌ zero width non-joiner
9499
0200d ‍ zero width joiner
95-
022ff ⋿ ✓ z notation bag membership
100+
022ff ⋿ ✓ z notation bag membership ⌨ \bagmember
96101
02981 ⦁ ✓ z notation spot
97102
02982 ⦂ ✓ z notation type colon
103+
02987 ⦇ ✓ z notation left image bracket
104+
02988 ⦈ ✓ z notation right image bracket
105+
02989 ⦉ ✓ z notation left binding bracket
106+
0298a ⦊ ✓ z notation right binding bracket
107+
02a1f ⨟ ✓ z notation schema composition ⌨ \bbsemi
108+
02a20 ⨠ ✓ z notation schema piping
98109
...
99110
```
100111

@@ -103,11 +114,13 @@ might take a few milliseconds...
103114

104115
### Sources
105116

106-
The current version of Unicode is 15.0, released in 2022.
117+
The current version of Unicode is 16.0, released in 2024.
107118
The glyph list used by Glyphy is the file `UnicodeData.txt` from
108-
[here](http://www.unicode.org/Public/UNIDATA/), dated 2022-08-03 17:00.
119+
[here](http://www.unicode.org/Public/UNIDATA/), dated 2024-08-25 18:05.
120+
121+
JuliaMono font (https://github.com/cormullion/juliamono) is at version v0.058, 2024-10-19.
109122

110-
JuliaMono font is at version v0.052, 2023-11-30.
123+
REPL shortcuts are as found in Julia 1.11.
111124

112125
Glyphy is also available as a web service, at [glyphy.info](https://glyphy.info):
113126

data/JuliaMono-Light.ttf

-32 Bytes
Binary file not shown.

data/glyphs.db

180 KB
Binary file not shown.

0 commit comments

Comments
 (0)