You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
emile
d5ea4c1fc3
|
3 weeks ago | |
---|---|---|
pad-en-grille | 4 weeks ago | |
.gitignore | 3 weeks ago | |
README.md | 3 weeks ago | |
padascii2uniascii.sh | 3 weeks ago | |
unifont-15.1.05.otf | 4 weeks ago | |
unifont-black.hex | 4 weeks ago | |
unifont-black.otf | 4 weeks ago | |
unifont-number-sign-black.otf | 4 weeks ago |
README.md
Qunifont
Qunifont is a qunified version of the Unifont
Drawing new Qunifont glyphs (in pads)
Download, extract and rename the last Unifont tar.gz file (https://unifoundry.com/pub/unifont/?C=M;O=D) to get access to the Unifont utilities scripts
curl https://unifoundry.com/pub/unifont/unifont-16.0.01/unifont-16.0.01.tar.gz -o unifont.tar.gz
tar -xvf unifont.tar.gz
mv unifont-16.0.01 unifont
Draw glyphs in a pad following this format (hexadecimal identifier):
F4910:
----------------
----------------
----------------
----------------
---#----######--
---#---#------#-
---#---#------#-
-##############-
---#------------
---#------------
---#------------
---#------------
---#------------
----##----------
----------------
----------------
Run padascii2uniascii
to download the pad's content and format it for the Unifont utilities (uniascii)
./padascii2uniascii.sh http://88.127.187.90:9001/p/qunifont > qunifont.txt
Use the Unifont hex glyphs as a base file
cp unifont/font/planee00/unifont-base.hex qunifont.hex
Convert uniascii to unihex and add them to the base file
./unifont/src/hexdraw qunifont.txt >> qunifont.hex
Convert unihex to bdf
./unifont/src/hex2bdf qunifont.hex > qunifont.bdf
TODO: convert to OTF, add OpenType features, change metadata
Other useful commands
Convert unihex to png (-p for plage)
./unifont/src/unihex2png -i qunifont.hex -o qunifont.png -p 0
Convert unihex to sfd
??? see https://www.venea.net/man/hex2sfd(1)
Convert unihex to otf
./unifontsrc/hex2otf ???
Print specific glyph in terminal from hexcode
printf %b\\n \\UF1010
printf %b\\n \\UFFE1
£
printf %b\\n \\U1F480
💀