1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::font::ArchiveFontBase</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/font/Overview.html">font</a>::ArchiveFontBase</CODE> Class</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">class ArchiveFontBase : public <a href="../../../nn/font/ResFontBase/Overview.html">nn::font::ResFontBase</a></pre> 55 </div> 56<h2>Description</h2> 57 <div class="section"> 58<p>A class that handles font resources that define groups of glyphs.</p><!-- write here --></div> 59 <a name="function" id="function"> 60<h2>Member Functions</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64<th class="category" colspan="3">Constructors/Destructors</th> 65 </tr> 66 <tr> 67 <td width="100"> </td> 68 <th> 69<a href="../../../nn/font/ArchiveFontBase/ArchiveFontBase.html"><CODE>ArchiveFontBase</CODE></a> 70 </th> 71<td>Constructor.</td> 72 </tr> 73 <tr> 74<td width="100"> <span class="virtual_style" title="virtual">V</span> 75 </td> 76 <th> 77<a href="../../../nn/font/ArchiveFontBase/~ArchiveFontBase.html"><CODE>~ArchiveFontBase</CODE></a> 78 </th> 79<td>Destructor.</td> 80 </tr> 81 <tr> 82<th class="category" colspan="3">Getting Character Data</th> 83 </tr> 84 <tr> 85<td width="100"> <span class="virtual_style" title="virtual">V</span> 86 </td> 87 <th> 88<a href="../../../nn/font/ArchiveFontBase/GetCharWidths.html"><CODE>GetCharWidths</CODE></a> 89 </th> 90<td>Gets character widths for a character.</td> 91 </tr> 92 <tr> 93<td width="100"> <span class="virtual_style" title="virtual">V</span> 94 </td> 95 <th> 96<a href="../../../nn/font/ArchiveFontBase/HasGlyph.html"><CODE>HasGlyph</CODE></a> 97 </th> 98<td>Determines whether glyph data exists.</td> 99 </tr> 100 <tr> 101<th class="category" colspan="3">Other</th> 102 </tr> 103 <tr> 104 <td width="100"> 105<span class="protected_style" title="protected">protected</span> </td> 106 <th> 107<a href="../../../nn/font/ArchiveFontBase/SetResourceBuffer.html"><CODE>SetResourceBuffer</CODE></a> 108 </th> 109<td>Sets a glyph index adjustment table along with pointers to an allocated buffer and the FINF block inside it.</td> 110 </tr> 111 <tr> 112 <td width="100"> 113<span class="protected_style" title="protected">protected</span> </td> 114 <th> 115<a href="../../../nn/font/ArchiveFontBase/RemoveResourceBuffer.html"><CODE>RemoveResourceBuffer</CODE></a> 116 </th> 117<td>Resets the parameters that were set by the <CODE>SetResourceBuffer</CODE> function and then returns a pointer to the allocated buffer.</td> 118 </tr> 119 <tr> 120 <td width="100"> 121<span class="protected_style" title="protected">protected</span> </td> 122 <th> 123<a href="../../../nn/font/ArchiveFontBase/AdjustIndex.html"><CODE>AdjustIndex</CODE></a> 124 </th> 125<td>Adjusts a glyph index obtained from the CMAP block by the number of sheets that have not been loaded. Use the unadjusted glyph index to get character width data from a CWDH block and the adjusted glyph index to extract a glyph image from a sheet.</td> 126 </tr> 127 <tr> 128 <td width="100"> 129<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 130 <th> 131<a href="../../../nn/font/ArchiveFontBase/IncludeName.html"><CODE>IncludeName</CODE></a> 132 </th> 133<td>Determines whether <SPAN class="argument">nameList</SPAN> contains <SPAN class="argument">name</SPAN>.</td> 134 </tr> 135 <tr> 136 <td width="100"> 137<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 138 <th> 139<a href="../../../nn/font/ArchiveFontBase/IsValidResource.html"><CODE>IsValidResource</CODE></a> 140 </th> 141<td>Determines whether the given binary data contains a compressed font resource up to the GLGR block.</td> 142 </tr> 143 <tr> 144 <td width="100"> 145<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 146 <th> 147<a href="../../../nn/font/ArchiveFontBase/RequestData.html"><CODE>RequestData</CODE></a> 148 </th> 149<td>Runs processing to handle insufficient data in the input stream.</td> 150 </tr> 151 <tr> 152 <td width="100"> 153<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 154 <th> 155<a href="../../../nn/font/ArchiveFontBase/ConstructOpDispatch.html"><CODE>ConstructOpDispatch</CODE></a> 156 </th> 157<td>Distributes processing for each block in a binary file.</td> 158 </tr> 159 <tr> 160 <td width="100"> 161<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 162 <th> 163<a href="../../../nn/font/ArchiveFontBase/ConstructOpAnalyzeFileHeader.html"><CODE>ConstructOpAnalyzeFileHeader</CODE></a> 164 </th> 165<td>Processes a binary file header.</td> 166 </tr> 167 <tr> 168 <td width="100"> 169<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 170 <th> 171<a href="../../../nn/font/ArchiveFontBase/ConstructOpAnalyzeGLGR.html"><CODE>ConstructOpAnalyzeGLGR</CODE></a> 172 </th> 173<td>Processes GLGR blocks.</td> 174 </tr> 175 <tr> 176 <td width="100"> 177<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 178 <th> 179<a href="../../../nn/font/ArchiveFontBase/ConstructOpAnalyzeFINF.html"><CODE>ConstructOpAnalyzeFINF</CODE></a> 180 </th> 181<td>Processes FINF blocks.</td> 182 </tr> 183 <tr> 184 <td width="100"> 185<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 186 <th> 187<a href="../../../nn/font/ArchiveFontBase/ConstructOpAnalyzeCMAP.html"><CODE>ConstructOpAnalyzeCMAP</CODE></a> 188 </th> 189<td>Processes CMAP blocks.</td> 190 </tr> 191 <tr> 192 <td width="100"> 193<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 194 <th> 195<a href="../../../nn/font/ArchiveFontBase/ConstructOpAnalyzeCWDH.html"><CODE>ConstructOpAnalyzeCWDH</CODE></a> 196 </th> 197<td>Processes CWDH blocks.</td> 198 </tr> 199 <tr> 200 <td width="100"> 201<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 202 <th> 203<a href="../../../nn/font/ArchiveFontBase/ConstructOpAnalyzeTGLP.html"><CODE>ConstructOpAnalyzeTGLP</CODE></a> 204 </th> 205<td>Processes TGLP blocks.</td> 206 </tr> 207 <tr> 208 <td width="100"> 209<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 210 <th> 211<a href="../../../nn/font/ArchiveFontBase/ConstructOpPrepairCopySheet.html"><CODE>ConstructOpPrepairCopySheet</CODE></a> 212 </th> 213<td>Sets up processing to copy a sheet.</td> 214 </tr> 215 <tr> 216 <td width="100"> 217<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 218 <th> 219<a href="../../../nn/font/ArchiveFontBase/ConstructOpPrepairExpandSheet.html"><CODE>ConstructOpPrepairExpandSheet</CODE></a> 220 </th> 221<td>Sets up processing to expand a sheet.</td> 222 </tr> 223 <tr> 224 <td width="100"> 225<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 226 <th> 227<a href="../../../nn/font/ArchiveFontBase/ConstructOpCopy.html"><CODE>ConstructOpCopy</CODE></a> 228 </th> 229<td>Copies data from the input stream into the construction context's output buffer.</td> 230 </tr> 231 <tr> 232 <td width="100"> 233<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 234 <th> 235<a href="../../../nn/font/ArchiveFontBase/ConstructOpSkip.html"><CODE>ConstructOpSkip</CODE></a> 236 </th> 237<td>Reads and discards an input stream.</td> 238 </tr> 239 <tr> 240 <td width="100"> 241<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 242 <th> 243<a href="../../../nn/font/ArchiveFontBase/ConstructOpExpand.html"><CODE>ConstructOpExpand</CODE></a> 244 </th> 245<td>Writes to a construction context's output buffer while expanding an input stream.</td> 246 </tr> 247 <tr> 248 <td width="100"> 249<span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 250 <th> 251<a href="../../../nn/font/ArchiveFontBase/ConstructOpFatalError.html"><CODE>ConstructOpFatalError</CODE></a> 252 </th> 253<td>This function is called when processing has continued, even if a fatal error has already occurred.</td> 254 </tr> </table> 255 </div> 256 </a> 257<h2>Class Hierarchy</h2> 258 <div class="section"> 259<p class="hierarchy"><a href="../../../nn/font/Font/Overview.html">nn::font::Font</a><br /> <a href="../../../nn/font/ResFontBase/Overview.html">nn::font::ResFontBase</a><br /> <b>nn::font::ArchiveFontBase</b> 260 </p> 261 </div> 262<h2>Revision History</h2> 263 <div class="section"> 264 <dl class="history"> 265 <dt>2010/11/10</dt> 266<dd>Initial version.<br /> 267 </dd> 268 </dl> 269 </div> 270 <hr><p>CONFIDENTIAL</p></body> 271</html> 272