Mochify
Image and PDF processing for agents, on a native C++ engine
目录 / 文档处理 / pdflib-syntax-text
在 pdf-lib 中绘制 PDF 页面文本时使用,包括文本定位、多行文本和文本测量。避免常见的错误:使用左上角坐标进行文本定位(pdf-lib 使用左下角原点)。涵盖 drawText 选项、使用 maxWidth 实现文本换行、字体测量方法。关键词:drawText、setFont、setFontSize、widthOfTextAtSize、heightAtSize、multiline、maxWidth、向 PDF 添加文本、写入文本、文本换行、测量文本宽度、定位文本。
| 版本 | 存档时间 | 内容哈希 | 内容 |
|---|---|---|---|
| v1 | 2026-11-17 07:23 | 15fa988f | 可取 |
版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。
Image and PDF processing for agents, on a native C++ engine
Generate and manipulate PDFs from Claude Desktop, Cursor, and Windsurf
Convert PDF, Word, PowerPoint, Excel, HTML and EPUB files into clean Markdown for LLMs, including OCR for scanned PDFs a…
PDF Toolkit converts PDFs/images to Word, Excel, and Markdown, splits and merges PDFs, creates PDFs from images, adds te…
Parse and query bank statements — turn PDF statements into structured transactions, accounts, and balances, with balance…
Fill any interactive PDF form from your AI agent — tax forms, HR paperwork, legal documents — in a single tool call
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。