From 2a25afbb76ca092495bb7207d2cafc1f052a1639 Mon Sep 17 00:00:00 2001 From: andyque Date: Tue, 13 May 2014 18:15:53 +0800 Subject: [PATCH] closed #4900. add comment --- cocos/ui/UIText.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cocos/ui/UIText.h b/cocos/ui/UIText.h index 53f66e9572..2121f28ae8 100644 --- a/cocos/ui/UIText.h +++ b/cocos/ui/UIText.h @@ -100,6 +100,8 @@ public: /** * Sets the font name of label. + * If you are trying to use a system font, you could just pass a font name, for example: Arial + * If you are trying to use a TTF, you should pass a file path to the TTF file, for example: resource/XXX.ttf * * @param font name. */