View previous topic :: View next topic |
Author |
Message |
pettsson n00b
Joined: 23 Dec 2006 Posts: 16
|
Posted: Sun Feb 27, 2011 1:59 pm Post subject: xpdf slow startup, "Missing charsets in String to FontS |
|
|
Hi!
I'm having trouble with xpdf being slow to start. Running "xpdf" from a terminal (not opening any file) takes 10-11 seconds before the application appears. After ~9 seconds, I get this warning "Warning: Missing charsets in String to FontSet conversion" four times.
Very helpful. I've tried reemerging xpdf, fonts and world. How can I find out which fonts are not found?
I googled a bit, and it seems it is often caused by locale settings. Sure enough, "LC_ALL=C bash -c xpdf" starts up quickly. Currently, my locale is configured like this:
Code: |
$ locale
LANG=sv_SE.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
|
Any suggestions? |
|
Back to top |
|
|
tryn Guru
Joined: 21 Dec 2002 Posts: 325 Location: 39.885° N. -88.913° W.
|
Posted: Sun Feb 27, 2011 6:27 pm Post subject: |
|
|
Do you still want the swedish language set.
You have
I have this in my locale LANG=en_US.UTF-8
This is the only difference that I have from what you have and my xpdf works fine. |
|
Back to top |
|
|
pettsson n00b
Joined: 23 Dec 2006 Posts: 16
|
Posted: Mon Feb 28, 2011 8:37 am Post subject: |
|
|
Well, I am swedish, so that's why I set it. I'm not really certain what difference it makes, though. Setting LC_MESSAGES to swedish makes (some) utilities have (partial) swedish translations of --help text, but mostly they seem to be babelfished and awful, so that's why I've got LC_* to en_US.
However, changing LANG to en_US.UTF-8 doesn't help. Also, it seems that it has to be LC_ALL set to C, I tried setting the other LC's to C, with and without resetting them to en_US.UTF-8 inbetween, and in neither case did xpdf start quickly until it set LC_ALL. |
|
Back to top |
|
|
tryn Guru
Joined: 21 Dec 2002 Posts: 325 Location: 39.885° N. -88.913° W.
|
Posted: Mon Feb 28, 2011 9:56 pm Post subject: |
|
|
pettsson
Do you have either of these installed?
app-text/poppler-0.14.5
app-text/poppler-data From what this site https://github.com/rbrito/xpdf-poppler#readme says if you don't have them that might be the problem.
More about it from herehttp://poppler.freedesktop.org/
I do have them. The link above came from this or from the poppler ones.
About the swedish language I figured that must have been your language but it was just a thought. |
|
Back to top |
|
|
|