Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Codes #38

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
siji.pcf
siji.otb
bin/__pycache__
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
prefix = ~/.local
x11dir = $(prefix)/share/fonts/siji
otbdir = $(prefix)/share/fonts/siji

build: pcf otb

install: pcf otb
mkdir -p $(x11dir) $(otbdir)
cp siji.pcf $(x11dir)
cp siji.otb $(otbdir)

pcf: siji.bdf
bdftopcf siji.bdf -o siji.pcf

otb: siji.bdf
python3 bin/otb1cli.py -o siji.otb siji.bdf

clean:
rm siji.otb siji.pcf
75 changes: 75 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Siji-ng

A fixed and maintained [Siji](https://github.com/stark/siji) iconic bitmap font.

**Contributions are welcome**

![Siji-ng](preview.png "Preview of Siji")

## Differences from Siji:
- Build **correct** OTB font => support in modern apps.
- New icons: `dwm_centeredmaster`, `dwm_centeredfloatingmaster`, `gentoo`,
`docker`.
- New repository structure, new build system, releases => easier to package.
- *More hopefully coming soon.*

## Installation

#### Requirements:
- python3
- bdftopcf

```sh
git clone https://github.com/begss/siji-ng && cd siji-ng && make install
```

## How to get all glyphs

```sh
#!/bin/sh

codes="0 1 2 3 4 5 6 7 8 9 a b c d e f"

for code0 in $codes; do
for code1 in $codes; do
for code2 in $codes; do
/usr/bin/printf "%s - \ue$code0$code1$code2\n" \
e$code0$code1$code2
done
done
done
```

## TODO

- [ ] More Glyphs!
- [ ] Adding glyphs of different sizes.
- [ ] Improving glyph alignment.
- [ ] Creating small and large version of Siji.

## Credits

[**stark**](https://github.com/stark) for [Siji](https://github.com/stark/siji).

[**wrkzk**](https://github.com/wrkzk) for `dwm_centeredmaster`,
`dwm_centeredfloatingmaster` and `gentoo` icons.

[**the-papi**](https://github.com/the-papi) for `docker` icon.

**Dimitar Zhekov** for bdf to otb convertation scripts.

**Sm4tik** for sm4tik xbm icon pack.

**Stlarch** for stlarch font.

**Sunaku** for sm4tik font.

**Lokaltog** for symbols font.

**w0ng** for xbm icon font.

**Dave Gandy** for FontAwesome.

**Lucy** for Tewi font.

**Phallus** for Lemon and Uushi font.
130 changes: 0 additions & 130 deletions Readme.md

This file was deleted.

Loading