mirror of
https://github.com/slavfox/Cozette.git
synced 2026-03-11 08:54:33 +00:00
v.1.27.0 The PhMajerus update part 1
This commit is contained in:
parent
2514aebae1
commit
8659a2b889
8 changed files with 2099 additions and 590 deletions
1508
CHANGELOG.md
1508
CHANGELOG.md
File diff suppressed because it is too large
Load diff
|
|
@ -274,6 +274,7 @@ Cozette includes contributions from:
|
|||
- [sungodmoth]
|
||||
- [yoshiyoshyosh]
|
||||
- [bluetoad07]
|
||||
- [PhMajerus]
|
||||
- [estradiol enantate]
|
||||
|
||||
# License & Acknowledgements
|
||||
|
|
@ -311,6 +312,7 @@ Cozette's builds use [bdfscale](https://github.com/philj56/bdfscale) by [philj56
|
|||
[laxul]: https://github.com/laxul
|
||||
[sungodmoth]: https://github.com/sungodmoth
|
||||
[bluetoad07]: https://github.com/bluetoad07
|
||||
[PhMajerus]: https://github.com/PhMajerus
|
||||
[estradiol enantate]: https://en.wikipedia.org/wiki/Estradiol_enantate
|
||||
[port]: https://cgit.freebsd.org/ports/tree/x11-fonts/cozette
|
||||
[bufferline.nvim]: https://github.com/akinsho/bufferline.nvim
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ def make_charlist_text(sfd: Path) -> str:
|
|||
text += f" {chr(c)} "
|
||||
else:
|
||||
ch = chr(c)
|
||||
text += ch if charwidth(ch) in "FW" else f"{ch} "
|
||||
text += ch if charwidth(ch) in "FWN" else f"{ch} "
|
||||
else:
|
||||
print("Skipping", c, category(chr(c)))
|
||||
return text
|
||||
|
|
@ -227,14 +227,15 @@ def save_charlist(fnt: str, sfd: Path, output_dir: Path):
|
|||
|
||||
charmap = make_charmap(sfd)
|
||||
with (output_dir / "charmap.txt").open("w") as f:
|
||||
f.write("\n".join(charmap))
|
||||
f.write(" ")
|
||||
f.write("\n ".join(charmap))
|
||||
files = []
|
||||
for chunk in range(0, len(charmap), 50):
|
||||
path = output_dir / f"charmap{chunk//50}_tmp.png"
|
||||
text = "\n".join(charmap[chunk : chunk + 50])
|
||||
text = " \n".join(charmap[chunk : chunk + 50])
|
||||
save_sample(
|
||||
fnt,
|
||||
Sample(text, 40, len(charmap[chunk : chunk + 49])),
|
||||
Sample(text, 41, len(charmap[chunk : chunk + 49])),
|
||||
path,
|
||||
fgcolor="#24292e",
|
||||
bgcolor="#ffffff",
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 66 KiB |
File diff suppressed because one or more lines are too long
BIN
img/charmap.png
BIN
img/charmap.png
Binary file not shown.
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 138 KiB |
1168
img/charmap.txt
1168
img/charmap.txt
File diff suppressed because it is too large
Load diff
BIN
img/sample.png
BIN
img/sample.png
Binary file not shown.
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Loading…
Reference in a new issue