UNIHEXFILL(1)

πŸ“¦
version 17.0.04 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, debian trixie, fedora 43, fedora 44, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– UNIHEXFILL(1) πŸ’–

okay bestie, pull up a chair, we're doing the General Commands Manual thing and honestly? this one's a bop. it's unihexfill, and she's here to make you a whole range of Unifont 4- or 6-digit hexadecimal glyphs. no cap.


✨ NAME ✨

unihexfill β€” generate a range of Unifont 4- or 6-digit hexadecimal glyphs πŸ¦‹


🌸 SYNOPSIS 🌸

unihexfill < unassigned-ranges.txt > filler-glyphs.hex

that's it. that's the whole vibe. in from one file, out to another. πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

so unihexfill is a shell script β€” yes, a humble little shell script, and she ATE β€” that reads a list of code point ranges from STDIN and produces filler glyphs of 4- or 6-digit code points on STDOUT. literally just in-and-out, main character energy.

now, the format of the input file? it's a lil combo plate of three things, bestie:

  • comment lines β€” and by convention these start with a semicolon (;)
  • single code points, one per line
  • start/stop pairs of code points on one line, separated by a space

start and stop code points are strings of hexadecimal digits, and by convention they're either four or six digits. iykyk. πŸ”₯

here's the fun part: unihexfill invokes unihexgen for each non-comment line in its input file. and then it's giving math:

  • if a codepoint is less than or equal to "FFFF" (i.e., 0xFFFF), a four-digit hexadecimal number is encoded within the corresponding Unifont glyph as two digits on each of two rows.
  • otherwise, a six-digit hexadecimal number is encoded as three digits on each of two rows.

two rows either way, babe. symmetry. iconic. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • there are no options. none. zero. she needs nothing from you except your input file. periodt. πŸ’–

πŸ¦‹ FILES πŸ¦‹

  • *.txt as input
  • *.hex as output

⭐ EXAMPLE ⭐

okay so in the Unifont source package, the file font/plane01/Makefile generates Unicode Plane 1 hexadecimal filler glyphs of unassigned code points within assigned scripts with this single-line command:

../../bin/unihexfill < unassigned-ranges.txt > unassigned.hex

one line. one command. slay. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

go give these besties some love too:

bdfimplode(1), hex2bdf(1), hex2otf(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexkinya(1), hexmerge(1), johab2syllables(1), johab2ucs2(1), unibdf2hex(1), unibmp2hex(1), unibmpbump(1), unicoverage(1), unidup(1), unifont(5), unifont-johab631(5), unifont-viewer(1), unifont1per(1), unifontchojung(1), unifontksx(1), unifontpic(1), unigen-hangul(1), unigencircles(1), unigenwidth(1), unihex2bmp(1), unihex2png(1), unihexgen(1), unihexpose(1), unihexrotate(1), unijohab2html(1), unipagecount(1), unipng2hex(1)


πŸ’… AUTHOR πŸ’…

unihexfill was written by Paul Hardy. thank you king 🫢


πŸ“ LICENSE πŸ“

unihexfill is Copyright Β© 2014 Paul Hardy.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


πŸ’€ BUGS πŸ’€

no known real bugs exist β€” love that for her β€” except that this software does not perform extensive error checking on its input file. any line that appears to begin with a hexadecimal digit is fed to unihexgen. so like... she's trusting. maybe too trusting. be careful what you feed her bestie 😭

2014 Jun 30 β€” that's the date, that's the version, and that's the whole UNIHEXFILL(1) page, mwah πŸ’‹ go forth and fill those glyphs, you got this πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from