--- a/media-fonts/terminus-font/terminus-font-4.48-r1.ebuild 2020-06-14 21:09:09.000000000 +0300 +++ b/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild 2020-06-16 01:09:02.828487078 +0300 @@ -62,6 +62,7 @@ src_configure() { } src_compile() { + local i o local args=( $(usex psf 'psf psf-vgaw' '') $(usex pcf 'pcf pcf-8bit' '') @@ -71,9 +72,11 @@ src_compile() { # Follow https://fedoraproject.org/wiki/BitmapFontConversion#Steps: # build ".otf" (bitmap-only) fonts out of .bdf ones if use otf; then - # use unicode only bitmaps - fonttosfnt -v -b -c -g 2 -m 2 -o Terminus.otb ter-u*n.bdf || die - fonttosfnt -v -b -c -g 2 -m 2 -o Terminus-Bold.otb ter-u*b.bdf || die + # use unicode only bitmaps + for i in ter-u*n.bdf ter-u*b.bdf; do + o=${i%bdf}otb + fonttosfnt -v -b -c -g 2 -m 2 -o "${o}" "${i}" || die + done fi }