Add 10/11/12pt base font size options

This commit is contained in:
gloamxun committed 2026-10-19 13:52:24 +08:00
1 parent 269433abdb
commit 477e2124c8
8 files changed
+180 -69

No files matched your search

+6 -3
View File
@@ -17,10 +17,13 @@ and geometry-aware `\textwidth`/`\textheight` named length registers.
ordered list of placed items, then use it for both page-break decisions and
final painting. This is the prerequisite for a true deferred float queue.
## 2. Base font size
## 2. Base font size (implemented)
- Thread the `10pt`/`11pt`/`12pt` class option through the parser, line metrics,
headings, and the PDF so the base size changes consistently.
- `DocumentModel.base_font_size` is set by the class option (default 11)
and threaded through both the page planner and the positioned renderer:
body lines, headings (`article_heading_font_size`), title material, lists,
tables, block boxes, footnotes, and the default `\parindent` (15pt for
10/12pt, 17pt for 11pt).
## 3. Table of contents and lists