-
Notifications
You must be signed in to change notification settings - Fork 17
Windows: generating font cache is slow (apparent hang on first run) #135
Comments
What do you mean exactly by “does not work”? What are the symptoms? I'm afraid I don't have access to a Windows 10 machine at the moment to try it out myself. ☹ |
It shows only: C:\pdf2djvu_0.9.12\pdf2djvu -o 001.djvu 001.pdf and nothing else happens. If I use pdf2djvu_0.8 or lower, everything works fine. I noticed that when after some time I back to version 9.12, it works too. So newer versions work, but only after some time. At the beginning, something is stuttering. Maybe it is related to permissions in Windows 10? |
I've observed similar behavior on a Windows 7 machine. I think this is what's going on:
fontconfig stores the font cache in: C:\Users\username\AppData\Local\fontconfig\cache @fair2003, could you delete this directory (or rename is to something else) and see if this makes the apparent hang re-appear? |
Sorry, I do not have such directory on Windows 10: C:\Users\username\AppData\Local\fontconfig\ |
Hmm, I guess the application data directory is somewhere else on your system. |
I recently reinstalled the system and that is why I did not have this directory. After running pdf2djvu the directory was created. Yes, you are right. Once the cache is built, further conversions proceed without extra delay. |
Possible work-around: remove the line <dir>WINDOWSFONTDIR</dir> from |
On my computer with Windows 10, pdf2djvu only works in version 8.0 or lower. I do not know why.
The text was updated successfully, but these errors were encountered: