X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmulti-language-support.h;h=f9749df7e3c611f426b03c4a2a49a25d962acbee;hb=74f25e93f1094929c90c1632b686e9bfa03bd017;hp=d4fd1c76f382d671c60941e6aaa1fd2b8857dbb4;hpb=b899c4999231a14190e804e13b941527c3c437a1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/multi-language-support.h b/dali-toolkit/internal/text/multi-language-support.h index d4fd1c7..f9749df 100644 --- a/dali-toolkit/internal/text/multi-language-support.h +++ b/dali-toolkit/internal/text/multi-language-support.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_MULTI_LANGUAGE_SUPPORT_H__ -#define __DALI_TOOLKIT_TEXT_MULTI_LANGUAGE_SUPPORT_H__ +#ifndef DALI_TOOLKIT_TEXT_MULTI_LANGUAGE_SUPPORT_H +#define DALI_TOOLKIT_TEXT_MULTI_LANGUAGE_SUPPORT_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -112,8 +112,9 @@ public: * * @param[in] text Vector of UTF-32 characters. * @param[in] scripts Vector containing the script runs for the whole text. - * @param[in] fontDescriptions The fonts set by the application developers. - * @param[in] defaultFontId The default font's id. + * @param[in] fontDescriptions The fonts set through the mark-up string or the input style set through the property system. + * @param[in] defaultFontDescription The default font's description set through the property system. + * @param[in] defaultFontPointSize The default font's point size set through the property system. * @param[in] startIndex The character from where the font info is set. * @param[in] numberOfCharacters The number of characters to set the font. * @param[out] fonts The validated fonts. @@ -121,7 +122,8 @@ public: void ValidateFonts( const Vector& text, const Vector& scripts, const Vector& fontDescriptions, - FontId defaultFontId, + const TextAbstraction::FontDescription& defaultFontDescription, + TextAbstraction::PointSize26Dot6 defaultFontPointSize, CharacterIndex startIndex, Length numberOfCharacters, Vector& fonts ); @@ -133,4 +135,4 @@ public: } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_MULTI_LANGUAGE_SUPPORT_H__ +#endif // DALI_TOOLKIT_TEXT_MULTI_LANGUAGE_SUPPORT_H