FPDFText_GetFont

FPDFText_GetFont :FPDFText_LoadPage,index

a handle to the font used by the particular character 
特定字符使用的字体的句柄。

 

返回值: FPDFFont_xxx使用

 

font ascent

get the font information of a text object 搜索网络
获取文本对象的字体信息

FPDFTextObj_GetFont
FPDF_FONT FPDFTextObj_GetFont(FPDF_PAGEOBJECT text_object);
text_object handle of text object return by FPDFPageObj_NewTextObj or FPDFPageObj_NewTextObjEx
handle of a font
FPDFTextObj_SetFont
void FPDFTextObj_SetFont(FPDF_PAGEOBJECT text_object,FPDF_Font font ,double fnt_sieze);
text_object :Handle fo text object return by FPDFPageObj_NewTextObj of
FPDFPageObj_NewTextObjEx.
font :handle of FPDF_FONT it could be FPDFTextObj_GetFont
FPDFFont_AddTrueType and FPDFFont_AddStandradFont
font_size:the size of the font

 

FPDFTextObj_GetFontSize(FPDF_PAGEOBJECT text_object);
text_object - Handle of text object return by FPDFPageObj_NewTextObj
of FPDFPageObj_NewTextObjEx

FPDFText_GetMatrix
FPDF_TEXTPAGE text_page,int index,double*a

 

 

insert a pdf page
PDF_PAGE pdf_page = FF
FPDF+PAGEOBJECT page_obj= FPDFPageObj_New(pPDFDoc)

 

FPDF_LoadPage
page index -index number of the page ,0 fo the first page

 

posted on   lydstory  阅读(431)  评论(0编辑  收藏  举报

编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示