Skip to content

tigerlet/Large-Font-Printer

Repository files navigation

GlyphPaginate - Large Character Pagination Printing System

A desktop application for printing oversized characters across multiple pages. It supports various fill and stroke styles, real-time preview, and PDF export. example.png

Features

  • Multi-page pagination: Automatically splits large characters across multiple pages based on page size
  • Fill styles: Solid color fill with customizable primary and secondary colors
  • Stroke support: Configurable stroke color and line width
  • Real-time preview: Thumbnail layout view and detailed page preview
  • PDF export: Generate print-ready PDF files
  • Multiple page sizes: A0 through A4, Letter, Legal

Requirements

  • Python 3.10+
  • Windows / macOS / Linux

Dependencies

  • reportlab - PDF generation
  • fontTools - Font file parsing
  • shapely - Geometry processing
  • numpy - Numerical operations
  • tkinter - GUI framework (usually bundled with Python)

Installation

pip install reportlab fonttools shapely numpy

Usage

python GlyphPaginate.py

Workflow

  1. Select a font file (.ttf, .otf, or .ttc)
  2. Enter a character and adjust the scale factor
  3. Choose a page size (A4, A3, etc.)
  4. Configure fill settings - enable fill, choose color
  5. Configure stroke settings - enable stroke, set color and line width
  6. Set the output file path
  7. Click Generate PDF & Preview to create the PDF, or Refresh Preview Only to update the preview

Project Structure

GlyphPaginate/
  GlyphPaginate.py      # Main application entry point and UI
  config_manager.py     # Configuration management and validation
  font_reader.py        # Font parsing and glyph contour extraction
  geometry_processor.py # Contour hierarchy and page pagination logic
  pdf_generator.py      # PDF rendering and export
  preview_renderer.py   # Thumbnail and detail preview rendering
  ui_components.py      # Reusable UI components
  utils.py              # Constants and utility functions

License

MIT

About

A cross-platform GUI utility for ultra-large glyph vector pagination, styling and multi-page PDF printing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages