<html> <head> <title>Struct FontDescriptor</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="FontDescriptor-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">awt</a> :: </p> </td> </tr> <tr> <td class="title">struct FontDescriptor</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>describes the characteristics of a font. </dd> <dd><p>For example, this can be used to select a font.</p> </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#Name">Name</a></td> <td class="imsum_right">specifies the exact name of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#Height">Height</a></td> <td class="imsum_right">specifies the height of the font in the measure of the destination. </td> </tr> <tr> <td class="imsum_left"><a href="#Width">Width</a></td> <td class="imsum_right">specifies the width of the font in the measure of the destination. </td> </tr> <tr> <td class="imsum_left"><a href="#StyleName">StyleName</a></td> <td class="imsum_right">specifies the style name of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#Family">Family</a></td> <td class="imsum_right">specifies the general style of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#CharSet">CharSet</a></td> <td class="imsum_right">specifies the character set which is supported by the font. </td> </tr> <tr> <td class="imsum_left"><a href="#Pitch">Pitch</a></td> <td class="imsum_right">specifies the pitch of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#CharacterWidth">CharacterWidth</a></td> <td class="imsum_right">specifies the character width. </td> </tr> <tr> <td class="imsum_left"><a href="#Weight">Weight</a></td> <td class="imsum_right">specifies the thickness of the line. </td> </tr> <tr> <td class="imsum_left"><a href="#Slant">Slant</a></td> <td class="imsum_right">specifies the slant of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#Underline">Underline</a></td> <td class="imsum_right">specifies the kind of underlining. </td> </tr> <tr> <td class="imsum_left"><a href="#Strikeout">Strikeout</a></td> <td class="imsum_right">specifies the kind of strikeout. </td> </tr> <tr> <td class="imsum_left"><a href="#Orientation">Orientation</a></td> <td class="imsum_right">specifies the rotation of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#Kerning">Kerning</a></td> <td class="imsum_right">For requesting, it specifies if there is a kerning table available. For selecting, it specifies if the kerning table is to be used. </td> </tr> <tr> <td class="imsum_left"><a href="#WordLineMode">WordLineMode</a></td> <td class="imsum_right">specifies if only words get underlined. </td> </tr> <tr> <td class="imsum_left"><a href="#Type">Type</a></td> <td class="imsum_right">specifies the technology of the font representation. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="Name" class="membertitle">Name</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>Name</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the exact name of the font. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Height" class="membertitle">Height</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Height</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the height of the font in the measure of the destination. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Width" class="membertitle">Width</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Width</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the width of the font in the measure of the destination. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="StyleName" class="membertitle">StyleName</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>StyleName</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the style name of the font. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Family" class="membertitle">Family</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Family</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the general style of the font. </dd> <dd><p>Use one value out of the constant group <a href="FontFamily.html">FontFamily</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CharSet" class="membertitle">CharSet</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>CharSet</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the character set which is supported by the font. </dd> <dd><p>Use one value out of the constant group <a href="CharSet.html">CharSet</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Pitch" class="membertitle">Pitch</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Pitch</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the pitch of the font. </dd> <dd><p>Use one value out of the constant group <a href="FontPitch.html">FontPitch</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CharacterWidth" class="membertitle">CharacterWidth</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>float <b>CharacterWidth</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the character width. </dd> <dd><p>Depending on the specified width, a font that supports this width may be selected.</p> <p>The value is expressed as a percentage.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Weight" class="membertitle">Weight</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>float <b>Weight</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the thickness of the line. </dd> <dd><p>Depending on the specified weight, a font that supports this thickness may be selected.</p> <p>The value is expressed as a percentage.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Slant" class="membertitle">Slant</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><a href="FontSlant.html">FontSlant</a> <b>Slant</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the slant of the font. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Underline" class="membertitle">Underline</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Underline</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the kind of underlining. </dd> <dd><p>Use one value out of the constant group <a href="FontUnderline.html">FontUnderline</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Strikeout" class="membertitle">Strikeout</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Strikeout</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the kind of strikeout. </dd> <dd><p>Use one value out of the constant group <a href="FontStrikeout.html">FontStrikeout</a>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Orientation" class="membertitle">Orientation</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>float <b>Orientation</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the rotation of the font. </dd> <dd><p>The unit of measure is degrees; 0 is the baseline.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Kerning" class="membertitle">Kerning</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Kerning</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>For requesting, it specifies if there is a kerning table available. For selecting, it specifies if the kerning table is to be used. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="WordLineMode" class="membertitle">WordLineMode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>WordLineMode</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies if only words get underlined. </dd> <dd><p><b>true</b> means that only non-space characters get underlined, <b>false</b> means that the spacing also gets underlined.</p> <p>This property is only valid if the property <a href="FontDescriptor.html">FontDescriptor</a>::<a href="FontDescriptor.html#Underline">Underline</a> is not <b>FontUnderline::NONE</b>.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Type" class="membertitle">Type</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Type</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the technology of the font representation. </dd> <dd><p>One or more values out of the constant group <a href="FontType.html">FontType</a> can be combined by an arithmetical or-operation.</p> </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2009 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>