https://github.com/source-foundry/font-unicode
Command line Unicode character code point and character name search
https://github.com/source-foundry/font-unicode
Last synced: 9 months ago
JSON representation
Command line Unicode character code point and character name search
- Host: GitHub
- URL: https://github.com/source-foundry/font-unicode
- Owner: source-foundry
- Created: 2015-10-05T15:08:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-11T19:14:27.000Z (about 9 years ago)
- Last Synced: 2025-05-23T23:18:05.439Z (10 months ago)
- Language: Python
- Homepage:
- Size: 918 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## font-unicode
## What is font-unicode?
font-unicode is a command line application that performs searches for Unicode character names by Unicode code points, and for Unicode code points by character names. It supports the Unicode standard v8.0.0. The query results are supplemented with the Adobe Glyph List for New Fonts v1.7 glyph names where applicable.
## Install
Install with `pip` using the command:
```
$ pip install font-unicode
```
or [download the source repository](https://github.com/source-foundry/font-unicode/tarball/master), unpack it, and navigate to the top level of the repository. Then enter:
```
$ python setup.py install
```
## Usage
### Search by Unicode Code Point
```
$ font-unicode search [Unicode code point 1] [...Unicode code point X]
```
You can use either the `u+0000` or `0000` format for the Unicode code point queries. Include one or more queries to the `search` command.
### Search by Unicode Character Name
```
$ font-unicode name [Unicode character name query 1] [...Unicode character name query X]
```
Include one or more character name search terms as arguments to the `name` command. Surround multi-word queries with quotes. You can include multiple searches in the same command.
### Pipe Raw Data to Another Executable
You can pipe the raw [Adobe Glyph List for New Fonts](https://raw.githubusercontent.com/source-foundry/font-unicode/master/lib/fontunicode/glyphlist/aglfn.txt) to other executables with the `list` command:
```
$ font-unicode list agl | [other executable]
```
The raw [Unicode Standard v8.0.0 names list](https://raw.githubusercontent.com/source-foundry/font-unicode/master/lib/fontunicode/glyphlist/NamesList.txt) can be piped to other executables with the `list` command:
```
$ font-unicode list unicode | [other executable]
```
For example, you could use `grep` to locate a Unicode code point in the semicolon delimited Adobe Glyph List like this:
```
$ font-unicode list agl | grep '012E'
012E;Iogonek;LATIN CAPITAL LETTER I WITH OGONEK
```
## Licenses
font-unicode is licensed under the MIT license. The full text of the license is available [here](https://github.com/source-foundry/font-unicode/blob/master/docs/LICENSE).
The Adobe Glyph List for New Fonts is licensed under the Apache License, v2.0. The full text of the license is available [here](http://www.apache.org/licenses/LICENSE-2.0.html).
The Unicode Standard v8.0.0 names list data file is licensed under the Unicode License Agreement for Data Files and Software. The full text of the license is available [here](http://www.unicode.org/copyright.html).