pdf-chinese-support

Community

Generate PDFs with flawless Chinese text.

Authors1366560
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the common issue of garbled Chinese characters in PDFs generated by the reportlab library, ensuring all Chinese text displays correctly.

Core Features & Use Cases

  • Automatic Font Registration: Detects and registers suitable Chinese fonts on the system.
  • Helper Module: Provides a ChinesePDFHelper class for easy PDF generation with Chinese content, including titles, sections, and tables.
  • Manual Font Control: Offers guidance on manually registering fonts and using Paragraph for text.
  • Use Case: Generate a monthly sales report in PDF format that includes product names, customer feedback, and sales figures all in Chinese, without any text rendering issues.

Quick Start

Use the ChinesePDFHelper to generate a PDF report with a Chinese title and sections.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pdf-chinese-support
Download link: https://github.com/s1366560/agi-demos/archive/main.zip#pdf-chinese-support

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.