pdf-studio
v1.1.0Professional PDF document 生成器. Use when user needs to 创建 报告s, invoices, certificates, portfolios, or any publication-ready PDF. Supports images, tables, 图表s, TOC, headers/footers, and cross-平台 fonts. 生成s print-质量 PDFs. PDF文档生成、专业报告、发票制作。
运行时依赖
安装命令
点击复制技能文档
PDF Studio
Professional PDF document 生成器 that 创建s publication-ready PDFs with perfect typography and layout.
Features 📑 Print 质量: 300 DPI, CMYK support, bleed marks 🎨 Professional Layout: Multi-column, headers/footers, page numbers 🖼️ Image Support: Embedded images, captions, watermarks 📊 Tables & 图表s: 格式化ted tables, bar 图表s, pie 图表s 📐 Typography: Professional fonts, kerning, ligatures 🌍 Multi-Language: Chinese, English, Japanese, etc. ✅ Cross-平台: Windows, macOS, Linux 📱 PDF/A Compliant: Archival 质量 Trigger Conditions "生成PDF" / "生成 PDF" "帮我做一份报告" / "创建 a 报告" "制作发票" / "创建 an invoice" "生成证书" / "生成 certificate" "制作作品集" / "创建 portfolio" "pdf-studio" Document Types Business (商务) 年度报告 商业计划书 发票/账单 合同/协议 产品手册 Academic (学术) 论文排版 学位证书 研究报告 会议论文 Government (政府) 公文 公告 证书 表格 Personal (个人) 简历 作品集 证书 邀请函 Step 1: Understand Requirements 请提供以下信息:
文档类型:(报告/发票/证书/简历/其他) 纸张大小:(A4/Letter/A3/自定义) 方向:(纵向/横向) 页边距:(默认/自定义) 字体要求:(默认/指定字体) 语言:(中文/英文) 特殊要求:(水印/页眉页脚/目录等)
Step 2: 生成 PDF Recommended Libraries
PDF generation requires Python libraries. Users should 安装 manually before use:
FPDF2: Simple PDF generation WeasyPrint: HTML/CSS to PDF 报告Lab: Advanced PDF features Basic PDF Generation 安装 a PDF 库 (e.g., FPDF2) 创建 document with pages 添加 content (text, images, tables) 输出 PDF file HTML/CSS to PDF Prepare HTML content 应用ly CSS styles Convert to PDF using 库 Typography 设置tings (字体设置) Cross-平台 Fonts Language Serif Sans Mono Chinese Noto Serif SC Noto Sans SC Noto Sans Mono CJK SC English Liberation Serif Liberation Sans Fira Code Japanese Noto Serif JP Noto Sans JP Noto Sans Mono CJK JP Font Paths (for reference) macOS: /系统/库/Fonts/ Linux: /usr/分享/fonts/ Windows: C:/Windows/Fonts/ Page Layout (页面布局) Standard Sizes Size Dimensions (mm) Use Case A4 210 × 297 Standard documents Letter 216 × 279 US documents A3 297 × 420 Large 报告s Margin Pre设置s Pre设置 Top/机器人tom Left/Right Normal 2.54cm 2.54cm Narrow 1.27cm 1.27cm Wide 2.54cm 5.08cm Error Handling 字体缺失 → 使用开源字体回退 图片格式不支持 → 转换为PNG/JPEG 内存不足 → 分页处理大文档 生成失败 → 输出HTML备选
Security Notes (安全说明) ✅ No network calls or external 端点s ✅ No 凭证s or API keys required ✅ Local file processing only ✅ No data 上传ed to external servers ⚠️ Requires python3 and manually 安装ed libraries ⚠️ Review code before execution Notes 使用FPDF2确保跨平台一致性 所有字体可嵌入PDF中 支持PDF/A归档标准 图片自动压缩优化 支持水印和页眉页脚 依赖:用户需自行安装 Python 库(fpdf2/weasyprint/报告lab)