开发者

Create a bmp of a string using a TTF file using C?

I have a new project assigned 开发者_如何转开发to me today. I need to load a TTF file and then write the specified string to a bitmap using that font. However, I do not have much information about the TTF structure. Is there any library specifically for this job?


I suggest you have a look at the SDL_ttf project. SDL is also a good start to build a small gfx app.

Here is also a useful tutorial aboud using SDL_ttf in OpenGL and rendering text as textures.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜