From bc3cdf89d3e2c66571be956713c7bf496b57d086 Mon Sep 17 00:00:00 2001 From: Paul Wisbey Date: Mon, 2 Feb 2015 18:47:54 +0000 Subject: [PATCH] Fixed some comments Change-Id: Ia65f9a39f9a697193e94923eecf4190caf46f67e --- text/dali/public-api/text-abstraction/font-client.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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. */ -- 2.7.4