< prev index next >
src/java.desktop/share/classes/java/awt/font/OpenType.java
Print this page
@@ -24,14 +24,14 @@
*/
package java.awt.font;
/**
- * The <code>OpenType</code> interface represents OpenType and
+ * The {@code OpenType} interface represents OpenType and
* TrueType fonts. This interface makes it possible to obtain
* <i>sfnt</i> tables from the font. A particular
- * <code>Font</code> object can implement this interface.
+ * {@code Font} object can implement this interface.
* <p>
* For more information on TrueType and OpenType fonts, see the
* OpenType specification.
* ( <a href="http://www.microsoft.com/typography/otspec/">http://www.microsoft.com/typography/otspec/</a> ).
*/
@@ -344,23 +344,23 @@
* Type Specification.
*/
public static final int TAG_TRAK = 0x7472616b;
/**
- * Returns the version of the <code>OpenType</code> font.
+ * Returns the version of the {@code OpenType} font.
* 1.0 is represented as 0x00010000.
- * @return the version of the <code>OpenType</code> font.
+ * @return the version of the {@code OpenType} font.
*/
public int getVersion();
/**
* Returns the table as an array of bytes for a specified tag.
* Tags for sfnt tables include items like <i>cmap</i>,
- * <i>name</i> and <i>head</i>. The <code>byte</code> array
+ * <i>name</i> and <i>head</i>. The {@code byte} array
* returned is a copy of the font data in memory.
* @param sfntTag a four-character code as a 32-bit integer
- * @return a <code>byte</code> array that is the table that
+ * @return a {@code byte} array that is the table that
* contains the font data corresponding to the specified
* tag.
*/
public byte[] getFontTable(int sfntTag);
@@ -368,12 +368,12 @@
* Returns the table as an array of bytes for a specified tag.
* Tags for sfnt tables include items like <i>cmap</i>,
* <i>name</i> and <i>head</i>. The byte array returned is a
* copy of the font data in memory.
* @param strSfntTag a four-character code as a
- * <code>String</code>
- * @return a <code>byte</code> array that is the table that
+ * {@code String}
+ * @return a {@code byte} array that is the table that
* contains the font data corresponding to the specified
* tag.
*/
public byte[] getFontTable(String strSfntTag);
@@ -385,30 +385,30 @@
* memory.
* @param sfntTag a four-character code as a 32-bit integer
* @param offset index of first byte to return from table
* @param count number of bytes to return from table
* @return a subset of the table corresponding to
- * <code>sfntTag</code> and containing the bytes
- * starting at <code>offset</code> byte and including
- * <code>count</code> bytes.
+ * {@code sfntTag} and containing the bytes
+ * starting at {@code offset} byte and including
+ * {@code count} bytes.
*/
public byte[] getFontTable(int sfntTag, int offset, int count);
/**
* Returns a subset of the table as an array of bytes
* for a specified tag. Tags for sfnt tables include items
* like <i>cmap</i>, <i>name</i> and <i>head</i>. The
- * <code>byte</code> array returned is a copy of the font
+ * {@code byte} array returned is a copy of the font
* data in memory.
* @param strSfntTag a four-character code as a
- * <code>String</code>
+ * {@code String}
* @param offset index of first byte to return from table
* @param count number of bytes to return from table
* @return a subset of the table corresponding to
- * <code>strSfntTag</code> and containing the bytes
- * starting at <code>offset</code> byte and including
- * <code>count</code> bytes.
+ * {@code strSfntTag} and containing the bytes
+ * starting at {@code offset} byte and including
+ * {@code count} bytes.
*/
public byte[] getFontTable(String strSfntTag, int offset, int count);
/**
* Returns the size of the table for a specified tag. Tags for sfnt
@@ -421,11 +421,11 @@
/**
* Returns the size of the table for a specified tag. Tags for sfnt
* tables include items like <i>cmap</i>, <i>name</i> and <i>head</i>.
* @param strSfntTag a four-character code as a
- * <code>String</code>
+ * {@code String}
* @return the size of the table corresponding to the specified tag.
*/
public int getFontTableSize(String strSfntTag);
< prev index next >