⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 software.htm

📁 1616点阵字幕产生软件
💻 HTM
字号:
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE>Well to more binary software develop team</TITLE>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
</HEAD>
<BODY background=image/background.gif>

<TABLE cellSpacing=1 cellPadding=1 width="100%" border=0 bgcolor=moccasin>
  
  <TR>
    <TD onmouseover="this.style.backgroundColor='#AFD1F6';" onmouseout="this.style.backgroundColor='';"><A 
      href="index.htm">首页</A></TD>
    <TD onmouseover="this.style.backgroundColor='#AFD1F6';" onmouseout="this.style.backgroundColor='';"><A 
      href="software.htm">软件</A></TD>
    <TD onmouseover="this.style.backgroundColor='#AFD1F6';" onmouseout="this.style.backgroundColor='';"><A 
      href="code.htm">代码</A></TD>
    <TD onmouseover="this.style.backgroundColor='#AFD1F6';" onmouseout="this.style.backgroundColor='';"><A 
      href="article.htm">文章</A></TD>
    <TD>
    <MARQUEE title="more binary" style="WIDTH: 265px; COLOR: darkblue; HEIGHT: 21px" width=265 >Well to more binary software develop team</MARQUEE> 
    </TD>    
    </TR>
    </TABLE>
   <br>
<hr>   
<br> 
  <TABLE  cellSpacing=1 cellPadding=1 width="75%" border=1>
  
  <TR>
    <TD width="15%">名称</TD>
    <TD>点阵字体产生器<A href="software/FontGen.rar">[下载]</A></TD></TR>
  <TR>
    <TD width="15%">版本</TD>
    <TD>1.1</TD></TR>
  <TR>
    <TD width="15%">功能/用途</TD>
    <TD>
      <P>点阵字体产生工具以及相关显示函数。</P>
      <P>在开发嵌入式系统时,需要显示不同大小或类型字体的汉字。显然,对于嵌入式系统,不太可能使用矢量字体,而点阵字体,不同大小的字体不能简单的缩放。 
      另外,对一个小系统,也不需要完整的字体,往往只要几十个,甚至几个就够了。</P>
      <P>一般,我们采用的方法是,自己准备点阵字体的数据,在显示汉字时,把这些数据写入显存就行了。 
      这时又存在另外一个问题,由于是不完整的字库,不能简单的用汉字的内码去找到对应的字体数据,如果逐个比较,又费时间。比较好的方法就是把字体数据排序,用二分法查找,这样可以大大提高查找效率。</P>
      <P>这里为以上问题提供了一个完整的解决方案:</P>
      <P>产生字体数据:指定字体类型、大小,自动产生字体数据。</P>
      <P>字体数据排序:可以按Unicode,也可以按Ansi排序。</P>
      <P>集成显示函数:提供相关显示函数。为了节省空间,我们把文字分成thin和wide两种,前者用于显示传统的ASCII字符集,后者用于显示汉字等多(双)字节字符。</P>
      <P>&nbsp;</P></TD></TR>
  <TR>
    <TD width="15%">使用方法</TD>
    <TD>
      <P>产生字体数据:</P>
      <P>运行字体产生器,并选择字体的类型、大小。</P>
      <P>点击“产生”按钮,左下角的编辑框中会显示字体数据,右上角的编辑框会显示文本化效果。</P>
      <P>点击“导出”按钮,在文件对话框中,指定文件名(无需扩展名)。这时自动产生一个头文件和一个C文件。</P>
      <P>集成到项目中:</P>
      <P>初始化字体:在前面产生的头文件中会有类似于下面的代码(依赖前面的选项):
      <br>&nbsp;extern EXFONT g_unicode_font16; <br>
      &nbsp;void install_unicode_16x16_font(draw_pixel_func my_draw_pixel);<br>
      调用install_unicode_16x16_font去初始化字体,my_draw_pixel是一个回调函数,用于显示一个点,你必须要提供该函数。
      <P>显示文本:显示文本有两个函数可用,EXFONT_draw_a用于显示char*,EXFONT_draw_w用于显示wchar_t*。如果在产生字体时,选择的是按ANSI排序,则只调用前者,反之只用调用后者。</P>
      <P>详细使用方法,请参考示例代码。</P>
      <P>&nbsp;</P></TD></TR>
  <TR>
    <TD width="15%">备注</TD>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD width="15%">报告错误</TD>
    <TD>&nbsp;<A 
      href="mailto:morebin@hotmail.com">morebin@hotmail.com</A></TD></TR></TABLE>
<P></P>
    
    <hr>
   <center>
   <TABLE cellSpacing=1 cellPadding=1 width="96" border=0 bgcolor=moccasin>
   <tr>
   <td onmouseover="this.style.backgroundColor='#AFD1F6';" onmouseout="this.style.backgroundColor='';"><A 
      href="index.htm">首页</A></td>
   <td onmouseover="this.style.backgroundColor='#AFD1F6';" onmouseout="this.style.backgroundColor='';"><A 
      href="mailto:morebin@hotmail.com">建议</A></td>
   </tr></TABLE>
   </center>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -