Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xpdf slow startup, "Missing charsets in String to FontSet.."
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pettsson
n00b
n00b


Joined: 23 Dec 2006
Posts: 16

PostPosted: Sun Feb 27, 2011 1:59 pm    Post subject: xpdf slow startup, "Missing charsets in String to FontS Reply with quote

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
View user's profile Send private message
tryn
Guru
Guru


Joined: 21 Dec 2002
Posts: 325
Location: 39.885° N. -88.913° W.

PostPosted: Sun Feb 27, 2011 6:27 pm    Post subject: Reply with quote

Do you still want the swedish language set.
You have
Quote:
LANG=sv_SE.UTF-8


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
View user's profile Send private message
pettsson
n00b
n00b


Joined: 23 Dec 2006
Posts: 16

PostPosted: Mon Feb 28, 2011 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
tryn
Guru
Guru


Joined: 21 Dec 2002
Posts: 325
Location: 39.885° N. -88.913° W.

PostPosted: Mon Feb 28, 2011 9:56 pm    Post subject: Reply with quote

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
Code:
eix xpdf
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum