HGE-Font_CN

所属分类:游戏引擎
开发工具:Visual C++
文件大小:952KB
下载次数:55
上传日期:2008-05-15 13:09:27
上 传 者vvk小强
说明:  HGE是一个高效的2D游戏引擎,它是完全开源的(基于VC++),授权是慷慨的ZLib License, 任何人可以几乎不受限制的使用它,或基於技术核心开发引擎。 HGE简单的说,就是以3D加速实现2D图像的做法,它的作品可以在很低配置的电脑就能高效运作, 目前,国外人士评价HGE为最好的非商业2D游戏引擎。官方首页:http://hge.relishgames.com/ 国内游戏爱好者研究专区http://www.hgechina.com. HGE下使用中文的方案
(HGE is an efficient 2D game engine, it is completely open source (based on VC++), Authorization is generous ZLib License, any person can be almost unlimited use of it, or the core of the development of technology-based engine. HGE Simply put, is to accelerate the realization of 2D images 3D approach, which works in a very low configuration computer can be highly efficient operation, at present, foreign persons HGE evaluation for the best non-commercial 2D game engine. Official Home: http://hge.relishgames.com/ domestic game enthusiasts research area http://www.hgechina.com. HGE use Chinese program)

文件列表:
hge_Font_cn\CN\FreeType\include\freetype\config\ftconfig.h (13817, 2007-03-28)
hge_Font_cn\CN\FreeType\include\freetype\config\ftheader.h (24082, 2007-01-09)
hge_Font_cn\CN\FreeType\include\freetype\config\ftmodule.h (1054, 2006-01-30)
hge_Font_cn\CN\FreeType\include\freetype\config\ftoption.h (42759, 2007-06-26)
hge_Font_cn\CN\FreeType\include\freetype\config\ftstdlib.h (7952, 2007-05-15)
hge_Font_cn\CN\FreeType\include\freetype\freetype.h (214666, 2007-07-02)
hge_Font_cn\CN\FreeType\include\freetype\ftbbox.h (4715, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftbdf.h (6445, 2006-03-24)
hge_Font_cn\CN\FreeType\include\freetype\ftbitmap.h (12803, 2007-01-16)
hge_Font_cn\CN\FreeType\include\freetype\ftcache.h (60397, 2007-06-11)
hge_Font_cn\CN\FreeType\include\freetype\ftchapters.h (7130, 2007-01-12)
hge_Font_cn\CN\FreeType\include\freetype\fterrdef.h (12076, 2007-06-01)
hge_Font_cn\CN\FreeType\include\freetype\fterrors.h (9662, 2007-01-23)
hge_Font_cn\CN\FreeType\include\freetype\ftgasp.h (3953, 2007-01-16)
hge_Font_cn\CN\FreeType\include\freetype\ftglyph.h (36878, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftgxval.h (12954, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftgzip.h (4390, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftimage.h (78946, 2007-03-11)
hge_Font_cn\CN\FreeType\include\freetype\ftincrem.h (11060, 2007-01-30)
hge_Font_cn\CN\FreeType\include\freetype\ftlcdfil.h (6268, 2007-01-16)
hge_Font_cn\CN\FreeType\include\freetype\ftlist.h (16725, 2007-01-29)
hge_Font_cn\CN\FreeType\include\freetype\ftlzw.h (4355, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftmac.h (17265, 2007-02-08)
hge_Font_cn\CN\FreeType\include\freetype\ftmm.h (23090, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftmodapi.h (21456, 2007-04-10)
hge_Font_cn\CN\FreeType\include\freetype\ftmoderr.h (7585, 2005-03-23)
hge_Font_cn\CN\FreeType\include\freetype\ftotval.h (7189, 2007-01-16)
hge_Font_cn\CN\FreeType\include\freetype\ftoutln.h (32074, 2007-01-29)
hge_Font_cn\CN\FreeType\include\freetype\ftpfr.h (6440, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftrender.h (11236, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftsizes.h (9720, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftsnames.h (10187, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\ftstroke.h (20236, 2007-06-11)
hge_Font_cn\CN\FreeType\include\freetype\ftsynth.h (3318, 2006-02-25)
hge_Font_cn\CN\FreeType\include\freetype\ftsystem.h (10486, 2006-05-12)
hge_Font_cn\CN\FreeType\include\freetype\fttrigon.h (8793, 2007-01-30)
hge_Font_cn\CN\FreeType\include\freetype\fttypes.h (35203, 2007-06-11)
hge_Font_cn\CN\FreeType\include\freetype\ftwinfnt.h (9979, 2007-01-16)
hge_Font_cn\CN\FreeType\include\freetype\ftxf86.h (4567, 2007-01-29)
hge_Font_cn\CN\FreeType\include\freetype\internal\autohint.h (12809, 2007-01-29)
... ...

HGE 中文显示解决方案 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Author - 微妙的平衡(BOGY) Mail - bogy.cn@gmail.com Home - http://bogy.cn 文件与目录结构说明 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [FreeType] 矢量字体支持库(FreeType) GdiFont.cpp 像素字体实现定义文件 GdiFont.h 像素字体实现声明文件 TypeFont.cpp 矢量字体实现定义文件 TypeFont.h 矢量字体实现声明文件 Sprites.h 矢量字体实现定义文件 Readme.txt 本描述文档 简单介绍 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 本方案是为解决在HGE的项目中支持中文的显示。 目前支持两种方案: 一、像素字体的显示; 二、矢量字体的显示。 这两种字体的创建与显示由类 FontSprite 的派生类实现,所以使用时只需要使用 FontSprite 类中不同的创建函数即可创建像素字体或是矢量字体指针。 本解决方案不需要依赖任何图片字模,并支持丰富的显示方法。 使用方法很简单,只需如下几步即可: 一、包含字体精灵头文件,详细请参阅 目录下的 Readme.txt 文件。 二、创建字体指针: 像素字体: FontSprite* fontspr = FontSprite::Create(字体名,字体大小) 矢量字体: FontSprite* fontspr = FontSprite::CreateEx(字体文件名,字体大小) 三、渲染文本: fontspr->Printf(坐标x,坐标y,文本内容) 四、销毁字体:当程序结束时,使用 fontspr->Release() 来销毁字体。 声明与感谢 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 在这个方案支持,我一直都是用一种比较烂的方案来显示汉字,例如很久之前使用的静态字模的方式。 并且像素字体与矢量字体两种实现方式大相径庭,没有通用性。但看过 Kevin Lynx 推荐的一个矢量字体方案后,就将那个框架移植了过来,并做了一部分的改动。 最重要的是对像素字体与矢量字体做了通用性的修改,使两种字体的解决方案可以互相使用。 在这里感谢 Kevin Lynx 同学推荐的那个矢量字体方案。 若你在使用中还有疑问,请至邮:bogy.cn@gmail.com 我会尽快回复。 ____________________________________________________________ Copyright 2006-2007 BOGY.CN. All Rights Reserved.

近期下载者

相关文件


收藏者