OptiComics: A Mathematical Programming Framework for Geometry-Preserving Comic Lettering

Abstract Automatic lettering of translated comics is a constrained layout problem in which a fixed visual composition must accommodate target-language text with different lengths, hyphenation patterns, and writing conventions. We present the optimization core of OptiComics, a framework that separates this task into a continuous geometric stage and a discrete typographic stage. A sampled speech-balloon contour is first summarized by Principal Component Analysis and refined through a nonconvex nonlinear program that selects a large text-safe ellipse while keeping the artist's balloon geometry unchanged. The resulting ellipse is then filled with text, and an integer linear programming model assigns ordered syllables to text rows, while accounting for spaces, hyphenation, font size, centering, and visual balance. We provide detailed derivations, worked numerical examples, modeling clarifications concerning rotated coordinates and sample-based containment, and implementation guidance. The framework is evaluated on real pages from Japanese and Italian comics, including highly irregular balloons and full-page production workflows. The results show that mathematical programming can be embedded effectively in an editorial production pipeline for the comics industry, while also identifying important limitations associated with irregular geometry, composite balloons, raster discretization, and human-facing typographic quality.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-10-30
DOI
https://doi.org/10.21203/rs.3.rs-11223851/v1
Primary Topic
Graphic Design and Typography
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

OptiComics: A Mathematical Programming Framework for Geometry-Preserving Comic Lettering

Alessandro Bicciato, Giovanni Fasano
Research Square
Graphic Design and Typography
preprint

OptiComics: A Mathematical Programming Framework for Geometry-Preserving Comic Lettering

Alessandro Bicciato, Giovanni Fasano
preprint en

Abstract

Abstract Automatic lettering of translated comics is a constrained layout problem in which a fixed visual composition must accommodate target-language text with different lengths, hyphenation patterns, and writing conventions. We present the optimization core of OptiComics, a framework that separates this task into a continuous geometric stage and a discrete typographic stage. A sampled speech-balloon contour is first summarized by Principal Component Analysis and refined through a nonconvex nonlinear program that selects a large text-safe ellipse while keeping the artist's balloon geometry unchanged. The resulting ellipse is then filled with text, and an integer linear programming model assigns ordered syllables to text rows, while accounting for spaces, hyphenation, font size, centering, and visual balance. We provide detailed derivations, worked numerical examples, modeling clarifications concerning rotated coordinates and sample-based containment, and implementation guidance. The framework is evaluated on real pages from Japanese and Italian comics, including highly irregular balloons and full-page production workflows. The results show that mathematical programming can be embedded effectively in an editorial production pipeline for the comics industry, while also identifying important limitations associated with irregular geometry, composite balloons, raster discretization, and human-facing typographic quality.

Research Square
Ca' Foscari University of Venice (IT)
Graphic Design and Typography
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon