| 1 | |
| 2 | |
| 3 | |
| 4 | FcFini(); |
| 5 | |
| 6 | // Check existence of intended fontconfig cache file. |
| 7 | - auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-11"; |
| 8 | + auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-" + FC_CACHE_VERSION; |
| 9 | bool cache_exists = access(cache.c_str(), F_OK) == 0; |
| 10 | return !cache_exists; |
| 11 | } |