From 4538be2b434c6cea0b0f753c3319a3254f64496b Mon Sep 17 00:00:00 2001 From: Lajos Kamocsay Date: Mon, 25 Nov 2013 10:00:53 -0500 Subject: [PATCH] FontTest was not rendering TTFs --- samples/Cpp/TestCpp/Classes/FontTest/FontTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Cpp/TestCpp/Classes/FontTest/FontTest.cpp b/samples/Cpp/TestCpp/Classes/FontTest/FontTest.cpp index 8359a33418..ace7c1b569 100644 --- a/samples/Cpp/TestCpp/Classes/FontTest/FontTest.cpp +++ b/samples/Cpp/TestCpp/Classes/FontTest/FontTest.cpp @@ -16,7 +16,7 @@ static int fontIdx = 0; static std::string fontList[] = { -#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) +#if ((CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)) // custom ttf files are defined in Test-info.plist "American Typewriter", "Marker Felt",