摘要
本文提出了一种计算机应用软件中的动态汉字库方法。动态汉字库的大小可以由用户根据需要随意决定;动态汉字库的内容则根据应用软件的运行动态地存入和取出。它使得计算机应用软件具有'学习'和'记忆'的双重功能,在显示速度降低不多的前提下,大大地减少了汉字库所占用的内存;它还克服了一般的CCDOS显示西文和汉字比较单调的缺陷,不仅可以在显示器的任意位置上显示西文和汉字,而且还能选用各种不同的显示模式,从而可以显示出空心字、立体字等花色字体。文章中还给出了应用动态汉字库方法在CGA显示器以及EGA/VGA显示器上如何显示单色或者彩色的西文和汉字的具体例子。文章最后还给出了不同环境下显示速度对比试验的结果。
A method of dynamic Chinese character library (CCLIB) for application software is presented in this paper. Its size can be decided by the user, and its contents can be put in or read out dynamically while the software is running. Thus the application software possesses the double functions of 'Learning' and 'Remembering'. The method greatly decreases the requirement of the memory taken by the CCLIB without slowing down the display speed too much. The method also adds its new features, that is, the characters can be displayed at any place of a CRT with various displaying models. So the character can be shown as framed, three-dimensioned or many other kinds of models. The paper also presents an example which shows how to display monochrome or coloured characters on CGA or EGA/VGA CRT. A result of comparing the displaying speeds under various environments has been given in the end of this paper.
关键词
计算机
动态
汉字库
程序系统
computer
application software
dynamic
CCLIB
display