Commit graph

3 commits

Author SHA1 Message Date
PentaFrame-Development
911c2bc025 docs: improve Docs Generator documentation
- Add key features section
- Document all UI configuration options (logo, fonts, margins, watermark)
- Fix output table to match actual UI outputs
- Add comprehensive Unicode and multi-language support section
- Add troubleshooting section
- Clean up unused outputs in code
2025-12-11 17:42:39 +01:00
PentaFrame-Development
fb3fedbbcf fix(docs-generator): Add multi-language font support and reportlab dependency
- Add reportlab>=4.4.1 to dependencies (pyproject.toml)
- Add fonts-freefont-ttf and fonts-noto-cjk to Dockerfile for Unicode support
- Implement automatic CJK font detection and switching:
  - Latin content uses user-selected font (Helvetica, Times-Roman, Courier)
  - CJK/Arabic/Hebrew/Thai/Hindi content auto-switches to STSong-Light CID font
- Add documentation about automatic font switching behavior
- Fix frontend null safety in use-selelct-filters.ts
- Add DocsGenerator component to agent constants

Fixes missing glyphs (black squares) issue for Chinese, Japanese, Korean,
Arabic, Hebrew, Thai, and Hindi characters in generated PDFs.
2025-12-11 11:29:22 +01:00
PentaFrame
ab74f6a5c9 feat: Add Docs Generator component for PDF/DOCX/TXT document generation
- Add new Docs Generator agent component (docs_generator.py)
- Support markdown-to-PDF conversion with tables, lists, code blocks
- Add PDF download button component for chat interface
- Add component form and configuration UI
- Add translations for all supported languages
- Add component documentation guide
- Support multiple output formats: PDF, DOCX, TXT
- Configurable styling, logo, orientaton..
- Download button integration with Message component
2025-12-09 17:14:07 +01:00