[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 105102] Font installation is incredibly slow
From:       Craig Drummond <craig () kde ! org>
Date:       2005-05-09 15:25:11
Message-ID: 20050509152511.3518.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=105102         




------- Additional Comments From craig kde org  2005-05-09 17:25 -------
Sorry - you state "with the pfms still in place - gonna try that later"? Do you mean \
the PFMs were there when it took an hour, or they weren't, and you'll put them there \
later?

If they werent there, then thats why there's no AFMs - as AFMs are only created if \
both a Type1 and a PFM exist.

pf2afm will create an AFM from just a pfb - but it wont have any real usefull \
information, as it needs the extra info from the PFM.

I dont think fc-cache is slowing things down that much. I dont understand "If it \
were, I should see normal speed for twenty files, a significant slow down and then \
normal speed again." Whay would it speed up again? The slow down would be after \
installing font 20, then font 40, 60, etc. Also, there is a timeout, where if there \
is no activity X seconds after the last reconfigure, and a change has been made, then \
fc-cache, etc. are called. So the 20 font thing is not the only control for when a \
reconfigure will happen.

Creating GS's Fontmap is not simply a case of appending. In the Fontmap there are \
aliases that are added, e.g.:

/Courier10PitchBT-Bold (c0583bt_1.pfb) ;
/Courier10Pitch-Bold /Courier10PitchBT-Bold ;

So if you install a font that really has "Courier10Pitch-Bold" as its postscript name \
(this is what the 1st column is), then the entry above would need to be removed. More \
fonts => more checking. But should not be that slow.

As an experiment, try this:

1. Have all 700, fonts in say /home/wibble/Test
2. Run "kfontinst -gxr /home/wibble/Test"

This should create X's fonts.dir in /home/wibble/Test, alter the Fontmap in ~/.fonts, \
and call "xset fp rehahs" to get X to refresh its font list. 

How long does that take?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic