better_fonts/build_instructions.md
Jeffrey Serio ac98835baf Add
2024-03-29 22:44:51 -05:00

762 B

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