From a8d193d24000c372387ec56b94e3abc37a0d95d9 Mon Sep 17 00:00:00 2001 From: Chongyu Zhu Date: Sun, 11 Jun 2017 21:45:04 +0800 Subject: [PATCH] fontconfig: handle downloadable fonts for high sierra Closes #14477. Signed-off-by: ilovezfs --- Formula/fontconfig.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/fontconfig.rb b/Formula/fontconfig.rb index a5aae3e0dc..8ae044c560 100644 --- a/Formula/fontconfig.rb +++ b/Formula/fontconfig.rb @@ -39,8 +39,10 @@ class Fontconfig < Formula ~/Library/Fonts ] - if MacOS.version >= :sierra + if MacOS.version == :sierra font_dirs << "/System/Library/Assets/com_apple_MobileAsset_Font3" + elsif MacOS.version == :high_sierra + font_dirs << "/System/Library/Assets/com_apple_MobileAsset_Font4" end system "autoreconf", "-iv" if build.head?