Bug 1429133 - Some FontExplorer managed fonts are not rendered. r?Alex_Gaynor
MozReview-Commit-ID: L5x3GNb3HGU
--- a/security/sandbox/mac/SandboxPolicies.h
+++ b/security/sandbox/mac/SandboxPolicies.h
@@ -329,16 +329,20 @@ static const char contentSandboxRules[]
#"\.[tT][tT][fF]$" ; ttf
#"\.[tT][tT][cC]$" ; ttc
#"\.[oO][tT][cC]$" ; otc
#"\.[dD][fF][oO][nN][tT]$")) ; dfont
; bug 1404919
; Read access (recursively) within directories ending in .fontvault
(allow file-read* (regex #"\.fontvault/"))
+
+ ; bug 1429133
+ ; Read access to the default FontExplorer font directory
+ (allow file-read* (home-subpath "/FontExplorer X/Font Library"))
)";
static const char fileContentProcessAddend[] = R"(
; This process has blanket file read privileges
(allow file-read*)
; File content processes need access to iconservices to draw file icons in
; directory listings