WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pdf2printable hidden dependency  (Read 109 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1562
pdf2printable hidden dependency
« on: February 27, 2025, 09:45:37 AM »
I tried using pdf2printable.tcz (to convert a pdf file to pwg file) in a barebones TCL box (my router) and the terminal became filled with these messages:

Code: [Select]
some font thing failed
some font thing failed
some font thing failed
some font thing failed
some font thing failed
This warning/error is not very helpful, so troubleshooting was long and tedious. The fix turned out to be simple: Loading Xorg-fonts.tcz.

In the TCL14, TCL15, and TCL16 x86_64 repos, can one of the devs please add Xorg-fonts.tcz to pdf2printable.tcz.dep?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11906
Re: pdf2printable hidden dependency
« Reply #1 on: February 27, 2025, 10:27:34 AM »
Hi GNUser
...
Code: [Select]
some font thing failed
 ----- Snip -----
some font thing failed
This warning/error is not very helpful, so troubleshooting was long and tedious. ...
What are you talking about. It pointed you right to the issue, fonts.
How do you expect software to be bloat free if you start to include
error messages like:
Font foo missing
File bar.ttf not found
File format in xyzzy.pcf not recognized.
No usable fonts found ::)

pdf2printable.tcz.dep updated in the TCL14, TCL15, and TCL16 x86_64 repos,

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1562
Re: pdf2printable hidden dependency
« Reply #2 on: February 27, 2025, 10:35:56 AM »
What are you talking about. It pointed you right to the issue, fonts.
Hi Rich. Fair enough.

My first thought was that I needed to do ln -s /usr/local/etc/fonts /etc/fonts. When that didn't help, I was left to comparing the difference between a TCL box where the extension was working with the TCL box with the problem. If I didn't happen to have a TCL box where the extension was working (my daily driver laptop), I'm not sure I would have figured out how to fix the problem based on this error message.

But all's well that ends well. Thanks for fixing the .dep file.