windows在vs2017编译使用FreeType

FreeType官网

https://www.freetype.org/index.html

FreeType下载地址

https://sourceforge.net/projects/freetype/files/freetype2/2.10.1/freetype-2.10.1.tar.xz/download

FreeType下载解压后,官方自带了vs的工程,在freetype-2.10.1\builds\windows\vc2010,直接用vs2017打开freetype.sln,就可以编译,编译成功后在freetype-2.10.1\objs\Win32\Debug文件夹下面,生成freetype.dll和freetype.lib

调用使用参考:

官方教程:https://www.freetype.org/freetype2/docs/tutorial/step1.html#section-1

github上的一个:https://github.com/AriZuu/ttf2ugui

猜你喜欢

转载自blog.csdn.net/bcfd_yundou/article/details/97779999