[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2254":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},2254,"pdf-trad-to-simp-preserve-layout-kit","superpilot69\u002Fpdf-trad-to-simp-preserve-layout-kit","superpilot69","PDF traditional-to-simplified Chinese conversion kit with layout-preserving scripts, Codex skill, and example source\u002Foutput PDFs.",null,"Python",114,17,110,0,1,4,44.67,"Other",false,"main",true,[],"2026-06-12 04:00:14","# PDF Traditional-to-Simplified Chinese Layout-Preserve Kit\n\n[中文说明](README.zh-CN.md)\n\nThis repository packages a real-world PDF conversion workflow for turning a traditional Chinese PDF into simplified Chinese while preserving page size, images, selectable text, and overall layout as much as possible.\n\n## Included Files\n\n- `pdfs\u002FCZ_original_traditional.pdf`: the original traditional Chinese PDF\n- `pdfs\u002FCZ_simplified_preserved_layout.pdf`: the simplified Chinese PDF with preserved layout and replaced cover\n- `cover\u002Freplacement_cover.png`: the cover image used for the final cover replacement step\n- `skill\u002F`: the Codex skill with the scripts, references, and prompt metadata needed to reuse the workflow\n\n## Skill Contents\n\nInside `skill\u002F`:\n\n- `SKILL.md`: trigger guidance and workflow instructions\n- `scripts\u002Finstall_deps.sh`: create a local virtualenv and install dependencies\n- `scripts\u002Fconvert_pdf_t2s_preserve_layout.py`: convert text-layer PDF pages from traditional to simplified Chinese\n- `scripts\u002Freplace_pdf_cover.py`: replace an image-only cover page without disturbing the rest of the PDF\n- `scripts\u002Fextract_ttc_font.py`: extract a usable font face from a `.ttc` collection such as `Songti.ttc`\n- `references\u002Fworkflow.md`: troubleshooting notes and verification steps\n\n## Quick Start\n\n```bash\ncd skill\n.\u002Fscripts\u002Finstall_deps.sh\nsource .venv\u002Fbin\u002Factivate\n\npython scripts\u002Fconvert_pdf_t2s_preserve_layout.py \\\n  ..\u002Fpdfs\u002FCZ_original_traditional.pdf \\\n  ..\u002Fpdfs\u002FCZ_simplified_preserved_layout_regenerated.pdf \\\n  --font-style light\n```\n\nIf the cover page is image-only, replace it separately:\n\n```bash\npython scripts\u002Freplace_pdf_cover.py \\\n  ..\u002Fpdfs\u002FCZ_simplified_preserved_layout_regenerated.pdf \\\n  ..\u002Fpdfs\u002FCZ_simplified_preserved_layout_with_new_cover.pdf \\\n  ..\u002Fcover\u002Freplacement_cover.png\n```\n\n## Install As A Codex Skill\n\nCopy the `skill\u002F` folder into your Codex skills directory and keep the folder name as `pdf-trad-to-simp-preserve-layout`.\n\nExample:\n\n```bash\nmkdir -p \"${CODEX_HOME:-$HOME\u002F.codex}\u002Fskills\"\ncp -R skill \"${CODEX_HOME:-$HOME\u002F.codex}\u002Fskills\u002Fpdf-trad-to-simp-preserve-layout\"\n```\n\n## License Notes\n\nThe code and documentation in this repository are released under the MIT License.\n\nThe included PDF files and cover image are example materials distributed in this repository based on the uploader's stated authorization. They are not automatically relicensed under MIT unless you independently have rights to reuse them.\n","该项目是一个用于将繁体中文PDF转换为简体中文并保持原有布局的工具包。它通过一系列Python脚本实现文本转换，同时尽可能保留页面大小、图片、可选文本和整体布局。项目中包含安装依赖、执行转换及替换封面等功能脚本，以及详细的使用说明和技术文档。适用于需要将繁体中文文档转换为简体中文但又希望保持原文档格式不变的场景，如出版物、研究报告等文件处理。",2,"2026-06-11 02:49:08","CREATED_QUERY"]