On May 26, 2009, at 1:38 AM, [email protected] wrote:


On 26.05.2009, at 09:26, Adam R. Maxwell wrote:


From previous debugging, I believe that ATSServer is also used for

fonts embedded in the document, and creating/activating those fonts

can be expensive.  The Spotlight importer wouldn't help with Skim's

searching, as far as I know.


But searching and creating/activating the fonts are 2 differents and
independent things, aren't they?

No. The fonts are activated as part of the PDF parsing process; Apple seems to delay some work until each page is "read," but searching forces it to happen immediately. It would be interesting to try creating thumbnails of all pages immediately, since that should cause the same problem.

I should point out that this ATSServer process is only starting to use
the CPU when I do the first search. Before that, everything is ok. The
problem is that the first search takes ages and it kills for me the
ability to quickly open a pdf an look for something int it if the pdf
is quite big (which most pdf in which I search are)

After ATSServer caches the fonts, access should be faster. ATSServer is shared among all applications, too, so there can be contention for its resources (aside from communication overhead).


Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to