From: Paul Wisbey
Date: Mon, 2 Feb 2015 18:47:54 +0000 (+0000)
Subject: Fixed some comments
X-Git-Tag: new_text_0.1~37
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F34792%2F1;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git
Fixed some comments
Change-Id: Ia65f9a39f9a697193e94923eecf4190caf46f67e
---
diff --git a/text/dali/public-api/text-abstraction/font-client.h b/text/dali/public-api/text-abstraction/font-client.h
index 64aa691..641534f 100644
--- a/text/dali/public-api/text-abstraction/font-client.h
+++ b/text/dali/public-api/text-abstraction/font-client.h
@@ -46,12 +46,12 @@ class FontClient;
*
* Accessing Fonts
*
- * A "font" is created from the system for a specific point size. A "FontId" is used to identify each font.
+ * A "font" is created from the system for a specific point size in 26.6 fractional points. A "FontId" is used to identify each font.
* For example two different fonts with point sizes 10 & 12 can be created from the "Ubuntu Mono" family:
* @code
* FontClient fontClient = FontClient::Get();
- * FontId ubuntuMonoTen = fontClient.GetFontId( "/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf", 10 );
- * FontId ubuntuMonoTwelve = fontClient.GetFontId( "/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf", 12 );
+ * FontId ubuntuMonoTen = fontClient.GetFontId( "/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf", 10*64 );
+ * FontId ubuntuMonoTwelve = fontClient.GetFontId( "/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf", 12*64 );
* @endcode
* Glyph metrics and bitmap resources can then be retrieved using the FontId.
*/
@@ -124,7 +124,7 @@ public:
* @brief Retrieve the unique identifier for a font.
*
* @param[in] path The path to a font file.
- * @param[in] pointSize The point size in 26.6 fractional points; the default point size is 12.
+ * @param[in] pointSize The point size in 26.6 fractional points; the default point size is 12*64.
* @param[in] faceIndex The index of the font face (optional).
* @return A valid font ID, or zero if the font does not exist.
*/