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