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

Create OTF (otb,otc) files for newer libpango. #362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
26 changes: 26 additions & 0 deletions Terminus/OTC/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
OTB files were converted from BDFs file as discussed in [bug 1753295](https://bugzilla.redhat.com/show_bug.cig?id=1753295) using [fonttosfnt 1.2.1](https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/commit/33f944705c6c42e1b52f6ec62131d31f737c638f):
```
for f in *.bdf; do fonttosfnt -b -c -g 2 -m 2 -o ${f%.bdf}.otb $f; done
```

OTC files were created from OTB files via script [otf2otc.py](https://blogs.adobe.com/CCJKType/2014/01/otc.html):
```
python otf2otc.py -o ter-powerline-regular.otc ter-powerline-x*n.otb
python otf2otc.py -o ter-powerline-bold.otc ter-powerline-x*b.otb
```

Note that if you have `/etc/fonts/conf.d/71-enable-terminus.conf` and cannot see the fonts in `fc-list`, you can ether remove it or add this similar file `/etc/fonts/conf.d/71-enable-terminess.conf`:
```
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<acceptfont>
<pattern>
<patelt name="family"><string>Terminess Powerline</string></patelt>
<patelt name="fontformat"><string>TrueType</string></patelt>
</pattern>
</acceptfont>
</selectfont>
</fontconfig>
```
Binary file added Terminus/OTC/ter-powerline-bold.otc
Binary file not shown.
Binary file added Terminus/OTC/ter-powerline-regular.otc
Binary file not shown.