blob: 13ba956ecdefe7489b7c4603e58676ee54b2ac88 [file] [log] [blame]
<html>
<head>
<title>Struct FontInfo</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="FontInfo-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">rendering</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">struct FontInfo</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This structure provides information about a specific font. </dd>
<dd><p>
</dd>
<dt><b>Since </b></dt>
<dd>OOo 2.0.0 </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="#FontDescription">FontDescription</a></td>
<td class="imsum_right">The PANOSE font classification. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#FamilyName">FamilyName</a></td>
<td class="imsum_right">The name of the font family. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#StyleName">StyleName</a></td>
<td class="imsum_right">The name of the specific font style within its family. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#IsSymbolFont">IsSymbolFont</a></td>
<td class="imsum_right">This value specifies which unicode ranges are supported by
this font. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#IsVertical">IsVertical</a></td>
<td class="imsum_right">Set to true, if the font is usable for vertical text
output. &nbsp;</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="FontDescription" class="membertitle">FontDescription</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><a href="Panose.html">Panose</a> <b>FontDescription</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The PANOSE font classification. </dd>
<dd><p>
TODO: Document semantics in Panose.idl
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="FamilyName" class="membertitle">FamilyName</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>string <b>FamilyName</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The name of the font family. </dd>
<dd><p>
The family name is the one normally associated to a font, such
as Times New Roman, Thorndale, Andale or Arial. <p>
Note: outlined fonts are now specified with 'outline' as part
of the family name. <p>
</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>The name of the specific font style within its family. </dd>
<dd><p>
For example, oblique, italic, or narrow. <p>
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="IsSymbolFont" class="membertitle">IsSymbolFont</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>::com::sun::star::util::TriState <b>IsSymbolFont</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>This value specifies which unicode ranges are supported by
this font. </dd>
<dd><p>
This is to be interpreted as a split-up 128bit value, see <a
href=http://partners.adobe.com/asn/tech/type/opentype/os2.jsp#ur>Adobe's
OpenType specification </a>for the specific meaning of each
bit. UnicodeRanges0 contains the least significant bits,
UnicodeRanges3 the most significant ones. <p>
const int128 UNICODE_RANGE_BASIC_LATIN = 1;
const int128 UNICODE_RANGE_LATIN_SUPPLEMENT = 2;
const int128 UNICODE_RANGE_LATIN_EXTENDED_A = 4;
const int128 UNICODE_RANGE_LATIN_EXTENDED_B = 4;
...
const int128 UNICODE_RANGE_MASK_LATIN = 1;
const int128 UNICODE_RANGE_MASK_CJK = (31 <<48) + (3<<55) +
(1<<59);
const int128 UNICODE_RANGE_MASK_CTL = (1<<11) + (1<<13) +
(0x3FFF<<15) + (0x0FFF<<70);
*/
long UnicodeRanges0;
long UnicodeRanges1;
long UnicodeRanges2;
long UnicodeRanges3;
//-------------------------------------------------------------------------
/** Specifies whether the font is a symbol font.<p>
If yes, text written in this symbol font does not have a
specified meaning. <p>
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="IsVertical" class="membertitle">IsVertical</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>::com::sun::star::util::TriState <b>IsVertical</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Set to true, if the font is usable for vertical text
output. </dd>
<dd><p>
Vertical fonts have subtle differences to horizontal ones,
e.g. rotated or differently shaped glyphs, or special rotated
versions of normally upright glyphs (e.g. brackets). <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 &copy; 2003 Sun Microsystems, Inc.</p>
</div> <!-- id="adc-idlref" -->
</body>
</html>