File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed 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 @@ -412,8 +412,11 @@ def __call__(self, path):
412
412
result = self ._cache .get (path )
413
413
if result is None :
414
414
realpath = os .path .realpath (path )
415
- stat = os .stat (realpath )
416
- stat_key = (stat .st_ino , stat .st_dev )
415
+ if sys .platform == 'win32' :
416
+ stat_key = realpath
417
+ else :
418
+ stat = os .stat (realpath )
419
+ stat_key = (stat .st_ino , stat .st_dev )
417
420
result = realpath , stat_key
418
421
self ._cache [path ] = result
419
422
return result
You can’t perform that action at this time.
0 commit comments