<html> <head> <title>Struct SimpleFontMetric</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="SimpleFontMetric-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 SimpleFontMetric</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>describes the general metrics of a certain font. </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="#Ascent">Ascent</a></td> <td class="imsum_right">specifies the portion of a lower case character that rises above the height of the character "x" of the font. </td> </tr> <tr> <td class="imsum_left"><a href="#Descent">Descent</a></td> <td class="imsum_right">specifies the portion of a letter falling below the baseline. </td> </tr> <tr> <td class="imsum_left"><a href="#Leading">Leading</a></td> <td class="imsum_right">specifies the vertical space between lines of this font; it is also called internal linespacing. </td> </tr> <tr> <td class="imsum_left"><a href="#Slant">Slant</a></td> <td class="imsum_right">specifies the slant of the characters (italic). </td> </tr> <tr> <td class="imsum_left"><a href="#FirstChar">FirstChar</a></td> <td class="imsum_right">specifies the code of the first printable character in the font. </td> </tr> <tr> <td class="imsum_left"><a href="#LastChar">LastChar</a></td> <td class="imsum_right">specifies the code of the last printable character in the font. </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="Ascent" class="membertitle">Ascent</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Ascent</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the portion of a lower case character that rises above the height of the character "x" of the font. </dd> <dd><p>For example, the letters 'b', 'd', 'h', 'k' and 'l' have an ascent unequal to 0.</p> <p>The ascent is measured in pixels, thus the font metric is device dependent.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Descent" class="membertitle">Descent</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Descent</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the portion of a letter falling below the baseline. </dd> <dd><p>For example, the letters 'g', 'p', and 'y' have a descent unequal to 0.</p> <p>The descent is measured in pixels, thus the font metric is device dependent.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Leading" class="membertitle">Leading</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>Leading</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the vertical space between lines of this font; it is also called internal linespacing. </dd> <dd><p>The leading is measured in pixels, thus the font metric is device dependent.</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>short <b>Slant</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the slant of the characters (italic). </dd> <dd><p>The slant is measured in degrees from 0 to 359.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FirstChar" class="membertitle">FirstChar</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>char <b>FirstChar</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the code of the first printable character in the font. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="LastChar" class="membertitle">LastChar</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>char <b>LastChar</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the code of the last printable character in the font. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>