omk-pdf-gen

Convert HTML/CSS inputs into PDFs with CJK font support via WeasyPrint.

103|15|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/KaimingWan/oh-my-kiro --skill omk-pdf-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omk-pdf-gen
Source: https://github.com/KaimingWan/oh-my-kiro/tree/main/skills/omk-pdf-gen
Command: npx skills add https://github.com/KaimingWan/oh-my-kiro --skill omk-pdf-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables reliable conversion of HTML/CSS into high-quality PDF documents, ensuring correct rendering of Chinese/Japanese/Korean text across environments.

Core Features & Use Cases

  • HTML + CSS → PDF via WeasyPrint with proper font support
  • CJK font handling across macOS/Linux
  • Use Case: Generate multilingual invoices, reports, and proposals

Quick Start

Provide an HTML input and run the pdf generator script to produce a PDF.

Frequently Asked Questions about omk-pdf-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert HTML and CSS to PDF with proper CJK font rendering?

Convert HTML and CSS to PDF with proper CJK font rendering by using an HTML+CSS pipeline with WeasyPrint, which handles Chinese, Japanese, and Korean text across macOS and Linux environments.

What's the best way to generate multilingual invoices and reports from HTML?

Generate multilingual invoices and reports from HTML by using WeasyPrint to process HTML and CSS inputs, ensuring correctly formatted PDF documents for your marketing collateral and business reports.

Does WeasyPrint support Python-based document generation on both desktop and server environments?

WeasyPrint supports Python-based document generation across both desktop and server environments, writing an intermediate HTML file, invoking the renderer, and cleaning up temporary files to produce final PDFs.

Can I use CSS to style PDFs for document generation without missing CJK characters?

You can use CSS to style PDFs for document generation without missing CJK characters, as the pipeline applies robust font support specifically designed for Chinese, Japanese, and Korean text rendering.

Why does my HTML to PDF conversion fail to render CJK fonts correctly?

HTML to PDF conversion fails to render CJK fonts correctly when standard converters lack multilingual support, but using WeasyPrint ensures robust CJK font handling across macOS and Linux environments.