better_fonts/build_instructions.md

42 lines
762 B
Markdown
Raw Permalink Normal View History

2024-03-30 04:44:51 +01:00
# Build instructions
Download source packages:
spectool -g *.spec
... or if `get-font-name.sh` script exists:
./get-font-name.sh
Build package locally:
fedpkg --release f33 mockbuild
Build in copr:
copr build repo_name package_name.src.rpm
# Useful commands
Check installed fonts:
rpm -q --whatrequires fontpackages-filesystem
Check what font is matched with given name:
fc-match font-name
Get font information (provided by texlive-lcdftypetools):
otfinfo --info fontname.ttf
Some fonts may not work because of FsType bit
ttembed -n fontname.ttf # to check
ttembed fontname.ttf # to reset
# Other resources
[Creating RPM packages](https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/)