Forum Bugs

Prince slow when Google Fonts are installed

rduv
I am having an issue with prince command line being really slow when google fonts are installed locally on ubuntu.

/usr/bin/prince --input=html --server --debug --log=prince.log -s prince.css - -o - prince_test.html

and i get a log file with a 1 minute pause right before i see the line about loading style sheets. If i remove the google fonts it runs fast. Any idea how to fix this?

We are running Prince Version 10

Fri Sep 1 19:01:36 2017: ---- begin
Fri Sep 1 19:01:36 2017: debug: init locking for OpenSSL
Fri Sep 1 19:01:36 2017: debug: loading license: /usr/lib/prince/license/license.dat
Fri Sep 1 19:01:36 2017: loading document: /usr/lib/prince/license/license.dat
Fri Sep 1 19:01:36 2017: debug: loaded resource: /usr/lib/prince/license/license.dat
>>>Fri Sep 1 19:01:36 2017: debug: loaded resource: type: no
>> Fri Sep 1 19:02:30 2017: loading style sheet: /usr/lib/prince/style/fonts.css
Fri Sep 1 19:02:30 2017: debug: loaded resource: /usr/lib/prince/style/fonts.css
Fri Sep 1 19:02:30 2017: debug: loaded resource: type: no



mikeday
That's strange, what fonts are these exactly?

Would you be able to install Prince 11.3 and try running the same command-line but with the princedebug script installed in /usr/lib/prince/bin/princedebug? This will generate two files in the /tmp directory, prince.debug and prince.strace, which you can email to me (mikeday@yeslogic.com) to diagnose the problem.