Skip to content

Commit

Permalink
er v1.2, not v1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Sep 11, 2023
1 parent f7790ce commit 4881d27
Show file tree
Hide file tree
Showing 8 changed files with 440 additions and 17 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [v1.2.0] - 2023-09-11 08:50

### Added

- ranges and arrays

### Changed

- font -> latest version 0.051

### Removed

### Deprecated

## [v1.1.0] - 2023-02-08 11:57

### Added
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Glyphy"
uuid = "e3b492bb-b251-48f2-9293-5b5772365208"
authors = ["cormullion <[email protected]>"]
version = "1.1.0"
version = "1.2.0"

[deps]
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
Expand Down
45 changes: 43 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
# Glyphy

Glyphy is a small utility package that searches through the names of glyphs in the Unicode
glyph list and returns a list of the glyph names that match
the search term.
glyph list and returns a list of the glyph names that match the search term.

```julia-term
using Glyphy
Expand Down Expand Up @@ -59,9 +58,51 @@ julia> glyphy(0x1f638)
You can enter this glyph by typing \:smile_cat: TAB
```

You can look for ranges and arrays of values:

```julia-term
julia-1.9> glyphy(0x32:0x7f)
00032 2 ✓ digit two
00033 3 ✓ digit three
00034 4 ✓ digit four
00035 5 ✓ digit five
00036 6 ✓ digit six
00037 7 ✓ digit seven
00038 8 ✓ digit eight
00039 9 ✓ digit nine
...
0007b { ✓ left curly bracket
0007c | ✓ vertical line
0007d } ✓ right curly bracket
0007e ~ ✓ tilde
```

```julia-term
julia-1.9> glyphy([0x63, 0x2020, 0x2640])
00063 c ✓ latin small letter c
02020 † ✓ dagger
02640 ♀ ✓ female sign
```

```julia-term
julia-1.9> glyphy("^z.*")
0200b ​ zero width space
0200c ‌ zero width non-joiner
0200d ‍ zero width joiner
022ff ⋿ ✓ z notation bag membership
02981 ⦁ ✓ z notation spot
02982 ⦂ ✓ z notation type colon
...
```

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

### Sources

The current version of Unicode is 15.0, released in 2022.
The glyph list used by Glyphy is the file `UnicodeData.txt` from
[here](http://www.unicode.org/Public/UNIDATA/), dated 2022-08-03 17:00.
Expand Down
Binary file modified data/JuliaMono-Light.ttf
Binary file not shown.
Binary file modified data/glyphs.db
Binary file not shown.
Loading

0 comments on commit 4881d27

Please sign in to comment.