File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Original file line number Diff line number Diff line change
1
+ 2008-05-14 Don't use stat on Windows (fixes font embedding problem) - MGD
2
+
1
3
2008-05-09 Fix /singlequote (') in Postscript backend - MGD
2
4
3
5
2008-05-08 Fix kerning in SVG when embedding character outlines - MGD
Original file line number Diff line number Diff line change @@ -413,8 +413,11 @@ def __call__(self, path):
413
413
result = self ._cache .get (path )
414
414
if result is None :
415
415
realpath = os .path .realpath (path )
416
- stat = os .stat (realpath )
417
- stat_key = (stat .st_ino , stat .st_dev )
416
+ if sys .platform == 'win32' :
417
+ stat_key = realpath
418
+ else :
419
+ stat = os .stat (realpath )
420
+ stat_key = (stat .st_ino , stat .st_dev )
418
421
result = realpath , stat_key
419
422
self ._cache [path ] = result
420
423
return result
You can’t perform that action at this time.
0 commit comments