+1 vote

Using PrintDraft takes an extremely long time on my machine–over 4 minutes. About 3 minutes of that time PT shows “Gathering Font Information” and checking the background processes shows that fc-cache.exe is .

Does anyone know of a way to speed up this process? I would think that, as the name suggests, the font information would be cached and this process would only need to be run when new fonts had been added to the system.


Having solved my own problem while writing this, I’ll also post the solution for the undoubtedly thousands of people who will search for the same problem here in the years to come :smile: By the way, my print times are now about 5-10 seconds.

It appears that I did not have write permission for the C:\Program Files (x86)\Paratext 8\xetex\share\texmf-dist\fonts\cache directory, which is where the cache was stored. I deleted the information in that directory, ran PT with administrator permissions, and ran PrintDraft. Doing that refreshed the cache and subsequent runs (in non-admin PT) skipped the caching process.


I don’t think I’ve ever changed permissions for that folder, so I’m assuming PT set them when it installed. Does anyone know if this is the default? If so, I’ll report it as a bug.

Paratext by (1.8k points)

2 Answers

+1 vote
Best answer

Great catch! I looked for the cache directory and didn’t have one (even after a Print Draft). I went to C:\Program Files (x86)\Paratext 8\xetex\bin and ran fc-cache.exe (I ran as administrator) and then noticed that the cache folder was created. I closed and opened Paratext and ran a print draft and it took a couple of seconds as you mentioned.

Go ahead and write up a bug report on this.

by (8.3k points)

User mention this problem from time to time, but I have never known Printdraft to be fast so I thought it was normal.

In the past it was always slow on the first run, and then subsequently it was much, much faster. But in recent builds (and I’m not exactly sure when it changed) it was being VERY VERY slow for each and every PrintDraft (which indicates that the font-cache was being rebuilt each time). So thank your +mnjames and anon848905 for the great tip.

Thanks for the replies. I’ve submitted a bug report.

I suspect the best way to fix this bug is to have the font cache in a folder that is already writable by the user. That is, something folder in the user’s profile, rather than Program Files.

It does seem like a fairly easy fix, but the response to my bug report indicated it had received a fairly low priority status–something about only working on this when it could be done alongside another similar problem.

Anyway, in the meantime @anon848905’s suggestion of fc-cache.exe externally and as admin would fix the problem, and would only need to be periodically when the cache had expired and PrintDraft starts slowly again.

The issue is that fc-cache.exe is a part of XeTeX and the code is not controlled by the Paratext developers. Even changing something simple might be difficult when having to work with the developers of XeTeX to get it changed.

0 votes

fc-cache.exe as admin, worked great today for me!

by (1.2k points)

Related questions

0 votes
0 answers
Paratext Apr 17 asked by [Expert]
sewhite
(3.1k points)
0 votes
2 answers
0 votes
1 answer
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
2,619 questions
5,350 answers
5,037 comments
1,420 users