当前位置: 首页 > news >正文 专门做纪录片的网站中小企业服务平台 news 2025/11/4 7:44:29 专门做纪录片的网站,中小企业服务平台,网络营销的常见方式有哪些,国家企业信用系统官网在之前讲过QT中利用freetype提取字库生成图片的方法#xff1a; #QT利用freetype提取字库图片_qt freetype-CSDN博客文章浏览阅读1.2k次。这是某个项目中要用到的片段#xff0c;结合上一篇文章#QT从字体名获取字库文件路径使用// 保存位图int SaveBitmapToFile(HBITMAP hBi…在之前讲过QT中利用freetype提取字库生成图片的方法 #QT利用freetype提取字库图片_qt freetype-CSDN博客文章浏览阅读1.2k次。这是某个项目中要用到的片段结合上一篇文章#QT从字体名获取字库文件路径使用// 保存位图int SaveBitmapToFile(HBITMAP hBitmap, LPSTR lpFileName){HDC hDC;int iBits;WORD wBitCount; DWORD dwPaletteSize0,dwBmBitsSize,dwDIBSize_qt freetypehttps://blog.csdn.net/wangningyu/article/details/109743104 QT在场景中利用freetype实现独立的文字绘制子类QxFreeTypeTextItem-CSDN博客QT在场景中利用freetype实现独立的文字绘制子类QxFreeTypeTextItem继上一章节讲过qt中如何编译freetype。https://blog.csdn.net/wangningyu/article/details/138927884 忘记说如何编译了通常我们会将freetype编译成一个动态库这样可以供以后的qt其他工程直接调用免得每次COPY一堆比较麻烦下面将告诉大家如何编译成DLL库 1、先下载freetype源码当前版本是2.13.2最新的 The FreeType Project - Browse /freetype2 at SourceForge.net 2、按照下面的步骤新建一个dll工程 这里的名称将是你以后DLL库的名称 这里根据自己的需要勾选 后面都是默认下一步完成即可下载后解压至QT DLL工程目录 此时只需要打开.pro文件COPY下面这一份即可 QT - guiTEMPLATE lib DEFINES FREETYPE_LIBRARYCONFIG c11# The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES QT_DEPRECATED_WARNINGS# You can also make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES QT_DISABLE_DEPRECATED_BEFORE0x060000 # disables all the APIs deprecated before Qt 6.0.0SOURCES \freetype.cppHEADERS \FreeType_global.h \freetype.h# 这里开始COPY即可 DEFINES FT2_BUILD_LIBRARY DEFINES WIN32 DEFINES _LIB DEFINES _CRT_SECURE_NO_WARNINGS DEFINES FT_DEBUG_LEVEL_ERROR DEFINES FT_DEBUG_LEVEL_TRACEINCLUDEPATH \freetype-2.13.2/include/# 这里需要注意下载存放的路径freetype-2.13.2与.pro文件同级目录 SOURCES \freetype-2.13.2/src/ftdebug.c \freetype-2.13.2/src/ftsystem.c \freetype-2.13.2/src/autofit/autofit.c \freetype-2.13.2/src/base/ftbase.c \freetype-2.13.2/src/base/ftbbox.c \freetype-2.13.2/src/base/ftbdf.c \freetype-2.13.2/src/base/ftbitmap.c \freetype-2.13.2/src/base/ftcid.c \freetype-2.13.2/src/base/ftfstype.c \freetype-2.13.2/src/base/ftgasp.c \freetype-2.13.2/src/base/ftglyph.c \freetype-2.13.2/src/base/ftgxval.c \freetype-2.13.2/src/base/ftinit.c \freetype-2.13.2/src/base/ftmm.c \freetype-2.13.2/src/base/ftotval.c \freetype-2.13.2/src/base/ftpatent.c \freetype-2.13.2/src/base/ftpfr.c \freetype-2.13.2/src/base/ftstroke.c \freetype-2.13.2/src/base/ftsynth.c \freetype-2.13.2/src/base/fttype1.c \freetype-2.13.2/src/base/ftwinfnt.c \freetype-2.13.2/src/bdf/bdf.c \freetype-2.13.2/src/cache/ftcache.c \freetype-2.13.2/src/cff/cff.c \freetype-2.13.2/src/cid/type1cid.c \freetype-2.13.2/src/dlg/dlgwrap.c \freetype-2.13.2/src/gzip/ftgzip.c \freetype-2.13.2/src/lzw/ftlzw.c \freetype-2.13.2/src/pcf/pcf.c \freetype-2.13.2/src/pfr/pfr.c \freetype-2.13.2/src/psaux/psaux.c \freetype-2.13.2/src/pshinter/pshinter.c \freetype-2.13.2/src/psnames/psmodule.c \freetype-2.13.2/src/raster/raster.c \freetype-2.13.2/src/sfnt\sfnt.c \freetype-2.13.2/src/smooth\smooth.c \freetype-2.13.2/src/sdf\sdf.c \freetype-2.13.2/src/svg\svg.c \freetype-2.13.2/src/truetype/truetype.c \freetype-2.13.2/src/type1/type1.c \freetype-2.13.2/src/type42/type42.c \freetype-2.13.2/src/winfonts/winfnt.c \# 这里复制结束# Default rules for deployment. unix {target.path /usr/lib } !isEmpty(target.path): INSTALLS target这里基本上就编译成功没什么问题了 release目录会生成FreeType.dll与FreeType.o文件即可供其他程序调用。 下面是其他调用freetype工程的pro文件可以参考一下 QT guiTEMPLATE lib DEFINES MTFREETYPE_LIBRARY CONFIG dll CONFIG c11 DESTDIR ../Bin# The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES QT_DEPRECATED_WARNINGS# You can also make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES QT_DISABLE_DEPRECATED_BEFORE0x060000 # disables all the APIs deprecated before Qt 6.0.0# 这里需要注意根据你的实际情况来设定 INCLUDEPATH \../FreeType/freetype-2.13.2/include/SOURCES \mtfreetype.cpp \HEADERS \MTFreeType_global.h \mtfreetype.h \# 这里需要链接你的.o文件所在路径 LIBS -L../Bin/ -lFreeTypeLIBS -luser32 LIBS -lgdi32# Default rules for deployment. unix {target.path /usr/lib } !isEmpty(target.path): INSTALLS target 文章转载自: http://www.morning.trhlb.cn.gov.cn.trhlb.cn http://www.morning.kongpie.com.gov.cn.kongpie.com http://www.morning.mhnb.cn.gov.cn.mhnb.cn http://www.morning.tkkjl.cn.gov.cn.tkkjl.cn http://www.morning.xtrnx.cn.gov.cn.xtrnx.cn http://www.morning.yrbhf.cn.gov.cn.yrbhf.cn http://www.morning.gftnx.cn.gov.cn.gftnx.cn http://www.morning.qckwj.cn.gov.cn.qckwj.cn http://www.morning.nwzcf.cn.gov.cn.nwzcf.cn http://www.morning.lmctj.cn.gov.cn.lmctj.cn http://www.morning.jgnjl.cn.gov.cn.jgnjl.cn http://www.morning.ygflz.cn.gov.cn.ygflz.cn http://www.morning.rdsst.cn.gov.cn.rdsst.cn http://www.morning.snccl.cn.gov.cn.snccl.cn http://www.morning.gidmag.com.gov.cn.gidmag.com http://www.morning.xnkh.cn.gov.cn.xnkh.cn http://www.morning.bzlfw.cn.gov.cn.bzlfw.cn http://www.morning.bkwd.cn.gov.cn.bkwd.cn http://www.morning.tpnxr.cn.gov.cn.tpnxr.cn http://www.morning.mfxcg.cn.gov.cn.mfxcg.cn http://www.morning.bccls.cn.gov.cn.bccls.cn http://www.morning.nqcts.cn.gov.cn.nqcts.cn http://www.morning.jxlnr.cn.gov.cn.jxlnr.cn http://www.morning.dnwlb.cn.gov.cn.dnwlb.cn http://www.morning.mfct.cn.gov.cn.mfct.cn http://www.morning.wgxtz.cn.gov.cn.wgxtz.cn http://www.morning.rftk.cn.gov.cn.rftk.cn http://www.morning.hbtarq.com.gov.cn.hbtarq.com http://www.morning.hotlads.com.gov.cn.hotlads.com http://www.morning.tygn.cn.gov.cn.tygn.cn http://www.morning.dmwjl.cn.gov.cn.dmwjl.cn http://www.morning.xsjfk.cn.gov.cn.xsjfk.cn http://www.morning.dpnhs.cn.gov.cn.dpnhs.cn http://www.morning.dcccl.cn.gov.cn.dcccl.cn http://www.morning.fksyq.cn.gov.cn.fksyq.cn http://www.morning.clyhq.cn.gov.cn.clyhq.cn http://www.morning.kzrbn.cn.gov.cn.kzrbn.cn http://www.morning.cbmqq.cn.gov.cn.cbmqq.cn http://www.morning.dnconr.cn.gov.cn.dnconr.cn http://www.morning.pwgzh.cn.gov.cn.pwgzh.cn http://www.morning.kxbry.cn.gov.cn.kxbry.cn http://www.morning.hdpcn.cn.gov.cn.hdpcn.cn http://www.morning.mtymb.cn.gov.cn.mtymb.cn http://www.morning.lywpd.cn.gov.cn.lywpd.cn http://www.morning.mkfr.cn.gov.cn.mkfr.cn http://www.morning.fpxms.cn.gov.cn.fpxms.cn http://www.morning.gccdr.cn.gov.cn.gccdr.cn http://www.morning.jyjqh.cn.gov.cn.jyjqh.cn http://www.morning.ftgwj.cn.gov.cn.ftgwj.cn http://www.morning.zlnyk.cn.gov.cn.zlnyk.cn http://www.morning.gfpyy.cn.gov.cn.gfpyy.cn http://www.morning.nbrdx.cn.gov.cn.nbrdx.cn http://www.morning.qlxgc.cn.gov.cn.qlxgc.cn http://www.morning.jbnss.cn.gov.cn.jbnss.cn http://www.morning.qzdxy.cn.gov.cn.qzdxy.cn http://www.morning.cwfkm.cn.gov.cn.cwfkm.cn http://www.morning.ldfcb.cn.gov.cn.ldfcb.cn http://www.morning.sqfnx.cn.gov.cn.sqfnx.cn http://www.morning.thntp.cn.gov.cn.thntp.cn http://www.morning.tntgc.cn.gov.cn.tntgc.cn http://www.morning.tgbx.cn.gov.cn.tgbx.cn http://www.morning.rfrnc.cn.gov.cn.rfrnc.cn http://www.morning.cgmzt.cn.gov.cn.cgmzt.cn http://www.morning.tbbxn.cn.gov.cn.tbbxn.cn http://www.morning.ntyks.cn.gov.cn.ntyks.cn http://www.morning.rlksq.cn.gov.cn.rlksq.cn http://www.morning.qnzk.cn.gov.cn.qnzk.cn http://www.morning.rkhhl.cn.gov.cn.rkhhl.cn http://www.morning.nynyj.cn.gov.cn.nynyj.cn http://www.morning.qnpyz.cn.gov.cn.qnpyz.cn http://www.morning.qdlnw.cn.gov.cn.qdlnw.cn http://www.morning.prznc.cn.gov.cn.prznc.cn http://www.morning.jppdk.cn.gov.cn.jppdk.cn http://www.morning.pqkgb.cn.gov.cn.pqkgb.cn http://www.morning.jqwpw.cn.gov.cn.jqwpw.cn http://www.morning.kmqwp.cn.gov.cn.kmqwp.cn http://www.morning.gnhsg.cn.gov.cn.gnhsg.cn http://www.morning.banzou2034.cn.gov.cn.banzou2034.cn http://www.morning.qqnh.cn.gov.cn.qqnh.cn http://www.morning.brlcj.cn.gov.cn.brlcj.cn 查看全文 http://www.tj-hxxt.cn/news/273131.html 相关文章: 成品ppt的网站免费观看百度快照是干什么的 字体图标网站如何做ps4的游戏视频网站 网站建设宀金手指排名大型门户网站开发费用 .net 大型网站开发基于html的网站开发 焦作专业做网站公司哪家好注册500万公司每月交税 腾讯微校怎么做微网站wordpres做视频网站 深圳的知名网站设计有哪些求个免费网站好人有好报 专业做网站的公司哪家更专业一个软件开发需要多少钱 网站开发需要哪些硬件百度上做网站免费吗 门户网站的建设方案wordpress 站内链接 西安 房产网站建设人工做流量的网站 如何做网站架构成都建设网站 scgckj 重庆市住房和城乡建设厅官方网站查询海珠五屏网站建设 网站开发的框架协议中山石岐网站建设 如何网站平台建设好中国做二手房最大的网站有哪些 福田区住房和建设局地址官方网站做微商能利用的网站有哪些 学生个人网页制作 模板搜索引擎优化指南 网站黄金比例51网站一起做网店广州 定制开发网站 推广如何建设 营销型 网站 网站开发的技术难点网站开发如何挣钱 尚品中国网站阿里巴巴网站建设免费 做网站要不要服务器厦门市网站建设app开发 前端网站优化浙江省建设注册管理中心网站 网站建设人员配备网站建设前期工作 推广网站大全wordpress没小工具 大团企业网站制作萍乡建站公司 随州网站建站怎么注册自己的平台 闸北做网站公司c#网站开发工具 衡水网站建设格公司介绍常见的网络营销方式 设计公司网站设计报价明细表长治网站制作服务