1 |
On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked: |
2 |
> strace acroread |
3 |
> shows that acroread 7.0.5-r1 uses a very long time with fonts |
4 |
> and nonexistent directories like /usr/psres and |
5 |
> /usr/share/fonts/afms//usr/share/fonts/afms: |
6 |
> |
7 |
> ... |
8 |
> open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) |
9 |
> open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) |
10 |
> getdents64(5, /* 0 entries */, 4096) = 0 |
11 |
> close(5) = 0 |
12 |
> ... |
13 |
> |
14 |
> and "hangs" here for about 10 seconds, with CPU 100% used. This |
15 |
> happens nine times during startup. |
16 |
> |
17 |
|
18 |
from the forums: |
19 |
|
20 |
http://forums.gentoo.org//viewtopic-t-420754-highlight-acroread.html?sid=5118566558bdce7510b095567e7b6d4c |
21 |
|
22 |
the file ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst stores a list of all |
23 |
the fonts on your system (which, in my case, gives 9387 entries) and |
24 |
apparently it tries to open those one by one on startup and look |
25 |
inside (what for, I don't know). |
26 |
|
27 |
A temporary work around is provide in the link above, which amounts to |
28 |
removing that font file prior to starting acroread. If I do that, |
29 |
acroread starts under 5 seconds for every one of the five times I |
30 |
tried. |
31 |
|
32 |
Notice that /usr/bin/acroread is just a batch file to launch the |
33 |
executable, so if you are adventurous, you can go dig inside it a bit. |
34 |
|
35 |
W |
36 |
-- |
37 |
Seen in LINAC @ Fermi National Accelerator Laboratory: |
38 |
(A series of signs, each with a different "name") |
39 |
This 7833 Power Amplifier Tube is to be Called: |
40 |
Gassy |
41 |
Sparky |
42 |
Leaky |
43 |
Old Number 9 |
44 |
Just Plain Dead |
45 |
Nick O'Tyme |
46 |
Sortir en Pantoufles: up 105 days, 16:47 |
47 |
-- |
48 |
gentoo-user@g.o mailing list |