X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmulti-language-helper-functions.h;h=14dee1b1837a0f048737ac1f423fcd07a4e9159a;hb=026776eb4b0303604b3c6ca5857cc1ac59b4006e;hp=80526384d9e16934b88c8e5721596b5d7e3da9f3;hpb=3e30971f9884dc48e80ef82de4ef85fc9dba1229;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/multi-language-helper-functions.h b/dali-toolkit/internal/text/multi-language-helper-functions.h index 8052638..14dee1b 100644 --- a/dali-toolkit/internal/text/multi-language-helper-functions.h +++ b/dali-toolkit/internal/text/multi-language-helper-functions.h @@ -35,23 +35,23 @@ namespace Text { /** - * @brief Merges the font descriptions to retrieve the font Id for each character. + * @brief Merges font's descriptions to retrieve the combined font's description for a given character. * - * @param[in] fontDescriptions The font descriptions. - * @param[out] fontIds The font id for each character. + * @param[in] fontDescriptions The font's descriptions for the whole text. + * @param[in] defaultFontDescription The default font's description. + * @param[in] defaultPointSize The default font's point size. + * @param[in] characterIndex Index to the character to retrieve its font's description. + * @param[out] fontDescription The font's description for the character. + * @param[out] fontPointSize The font's point size for the character. * @param[out] isDefaultFont Whether the font is a default one. - * @param[in] defaultFontDescription The default font description. - * @param[in] defaultPointSize The default font size. - * @param[in] startIndex The character from where the fonts are merged. - * @param[in] numberOfCharacters The number of characters to set the font. */ void MergeFontDescriptions( const Vector& fontDescriptions, - Vector& fontIds, - Vector& isDefaultFont, const TextAbstraction::FontDescription& defaultFontDescription, TextAbstraction::PointSize26Dot6 defaultPointSize, - CharacterIndex startIndex, - Length numberOfCharacters ); + CharacterIndex characterIndex, + TextAbstraction::FontDescription& fontDescription, + TextAbstraction::PointSize26Dot6& fontPointSize, + bool& isDefaultFont ); /** * @brief Retrieves the script Id from the script run for a given character's @p index.