From 6b21f7fe672632c262d90367b1d41de01b9a653d Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 5 Sep 2013 00:23:28 +0000 Subject: [PATCH] ICU-10100 promote getFontTable(tag,length) to draft. X-SVN-Rev: 34194 --- icu4c/source/layout/LEFontInstance.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/icu4c/source/layout/LEFontInstance.h b/icu4c/source/layout/LEFontInstance.h index 496c7c137a9..ec1f975c9b8 100644 --- a/icu4c/source/layout/LEFontInstance.h +++ b/icu4c/source/layout/LEFontInstance.h @@ -10,7 +10,7 @@ #include "LETypes.h" /** - * \file + * \file * \brief C++ API: Layout Engine Font Instance object */ @@ -107,7 +107,7 @@ public: * this and indicates that the entire string can be rendered. * * This method will return a valid LEFontInstance unless you - * have passed illegal parameters, or an internal error has been encountered. + * have passed illegal parameters, or an internal error has been encountered. * For composite fonts, it may return the warning LE_NO_SUBFONT_WARNING * to indicate that the returned font may not be able to render all of * the text. Whenever a valid font is returned, the offset parameter @@ -156,11 +156,11 @@ public: * * Subclasses which represent composite fonts should always return NULL. * - * Note that implementing this function does not allow for range checking. + * Note that implementing this function does not allow for range checking. * Subclasses that desire the safety of range checking must implement the * variation which has a length parameter. * - * @param tableTag - the four byte table tag. (e.g. 'cmap') + * @param tableTag - the four byte table tag. (e.g. 'cmap') * * @return the address of the table in memory, or NULL * if the table doesn't exist. @@ -177,16 +177,16 @@ public: * will have different tables, and there's no way to know which subfont to access. * * Subclasses which represent composite fonts should always return NULL. - * + * * This version sets a length, for range checking. - * Note that range checking can only be accomplished if this function is + * Note that range checking can only be accomplished if this function is * implemented in subclasses. * - * @param tableTag - the four byte table tag. (e.g. 'cmap') + * @param tableTag - the four byte table tag. (e.g. 'cmap') * @param length - ignored on entry, on exit will be the length of the table if known, or -1 if unknown. * @return the address of the table in memory, or NULL * if the table doesn't exist. - * @internal + * @draft ICU 52 */ virtual const void* getFontTable(LETag tableTag, size_t &length) const { length=-1; return getFontTable(tableTag); } /* -1 = unknown length */ @@ -548,5 +548,3 @@ inline le_int32 LEFontInstance::floatToFixed(float theFloat) U_NAMESPACE_END #endif - -