Recently had to support the printing of various barcodes, initially it printed the barcodes but one or more of the Kubuntu updates broke it after a reboot. The barcodes looked fine in preview before printing, but once printed, well it just has a bunch of numbers instead of the barcode.
Everything looked fine in /usr/share/fonts, my added Type1 and Truetype font directories were there, to fix it I did the following
- In /home/username created a new .fonts directory
- Copied my Type1 and Truetype to .fonts
- Ran sudo fc-cache -f -v
- Ran sudo mkfontdir
- Ran sudo mkfontscale
This created 2 new files in /home/username/.fonts fonts.scale and fonts.dir, if you want the fonts system wide do the above in /usr/share/fonts.