[aseprite] 186/250: Add folder for system fonts in OS X

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 21a642285d666d2f6dd0a0e998961692f627df65
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Oct 15 18:33:13 2015 -0300

    Add folder for system fonts in OS X
---
 src/app/ui/font_popup.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/app/ui/font_popup.cpp b/src/app/ui/font_popup.cpp
index 5c69cf4..868aefd 100644
--- a/src/app/ui/font_popup.cpp
+++ b/src/app/ui/font_popup.cpp
@@ -142,6 +142,10 @@ FontPopup::FontPopup()
       m_fontsDir = base::to_utf8(&buf[0]);
     }
   }
+#elif __APPLE__
+  {
+    m_fontsDir = "/Library/Fonts";
+  }
 #endif
 
   if (!m_fontsDir.empty()) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list