Skip to content

PPTX: a space is inserted between an a:buChar bullet and its text, flipping two wrap points #685

Description

@developer0hye

Summary

The output inserts a space between an a:buChar bullet glyph and the text that follows
it. PowerPoint inserts none — the text starts at the indent, and nothing separates it
from the bullet but the tab. The extra advance is enough to push the last syllable of a
bullet past the column width, so it changes where lines break.

Measured

tests/fixtures/pptx/office2pdf_introduction_ko.pptx, page 28, the four bullet columns.

marL and indent are identical on both sides — continuation lines start at x = 99.00pt
in both — so the indent model is right; only the bullet-to-text gap differs. GT emits
•람다, the output emits • 람다.

Two bullets re-wrap as a result:

GT office2pdf
패키지 용량 제약 대응에 유리 on one line …대응에 유 /
사용자 환경에 오피스 설치 요 / 구 없음 사용자 환경에 오피스 설치 / 요구 없음

Reproduction

cargo run --release -p office2pdf-cli -- \
    tests/fixtures/pptx/office2pdf_introduction_ko.pptx -o out.pdf

Page 28's bullets break one syllable earlier than a native PowerPoint export.

Expected

No space is inserted between an a:buChar glyph and its paragraph text; the gap comes
entirely from marL/indent.

Actual

A space is inserted, widening every bullet's first line and flipping two wrap points.

Found in the 2026-07-29 full-corpus visual audit at c1adfbd (native Office GT, 150 DPI, mutool-trace geometry).

Visual comparison

Compare
Compare

GT left, office2pdf right, 150 DPI, same page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions