]> granicus.if.org Git - icu/commitdiff
ICU-10100 promote getFontTable(tag,length) to draft.
authorSteven R. Loomis <srl@icu-project.org>
Thu, 5 Sep 2013 00:23:28 +0000 (00:23 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Thu, 5 Sep 2013 00:23:28 +0000 (00:23 +0000)
X-SVN-Rev: 34194

icu4c/source/layout/LEFontInstance.h

index 496c7c137a94004e4930468283240d3bb172118f..ec1f975c9b889af717a0cae8f38d3c019ab55d12 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "LETypes.h"
 /**
- * \file 
+ * \file
  * \brief C++ API: Layout Engine Font Instance object
  */
 
@@ -107,7 +107,7 @@ public:
      * <code>this</code> and indicates that the entire string can be rendered.
      *
      * This method will return a valid <code>LEFontInstance</code> 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 <code>LE_NO_SUBFONT_WARNING</code>
      * to indicate that the returned font may not be able to render all of
      * the text. Whenever a valid font is returned, the <code>offset</code> parameter
@@ -156,11 +156,11 @@ public:
      *
      * Subclasses which represent composite fonts should always return <code>NULL</code>.
      *
-     * 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 <code>NULL</code>
      *         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 <code>NULL</code>.
-     * 
+     *
      * 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 <code>NULL</code>
      *         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
-
-