Skip to content

Commit 7b5d84a

Browse files
committed
extract by default also *.ttf files from VirtualFileSystem
1 parent fd457d5 commit 7b5d84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/org.graalvm.python.embedding/src/org/graalvm/python/embedding/vfs/VirtualFileSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static enum HostIO {
9797
public static final class Builder {
9898
private static final Predicate<Path> DEFAULT_EXTRACT_FILTER = (p) -> {
9999
var s = p.toString();
100-
return s.endsWith(".so") || s.endsWith(".dylib") || s.endsWith(".pyd") || s.endsWith(".dll");
100+
return s.endsWith(".so") || s.endsWith(".dylib") || s.endsWith(".pyd") || s.endsWith(".dll") || s.endsWith(".ttf");
101101
};
102102

103103
private String vfsPrefix = "/" + VFS_ROOT;

0 commit comments

Comments
 (0)