mirror of
https://codeberg.org/hyperreal/better_fonts
synced 2024-11-01 08:33:08 +01:00
42 lines
762 B
Markdown
42 lines
762 B
Markdown
|
# 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/)
|