Skip to content

PPTX: Korean text wraps earlier than PowerPoint with the same font and box width #438

Description

@developer0hye

Summary

Korean PPTX text wraps earlier than Microsoft PowerPoint even when both PDFs embed the same Malgun Gothic family and the text-box geometry is unchanged. A question that fits on one line in PowerPoint wraps its final two syllables onto an extra line in office2pdf.

Reproduction

Convert tests/golden_mocks/business/sources/pptx/09_lecture_ko.pptx on current main (775b492) and compare slide 2 with the native PowerPoint PDF at 150 DPI.

The affected box is 4572000 EMU wide and contains an explicit paragraph:

<a:rPr sz="1800" b="1">
  <a:latin typeface="Malgun Gothic"/>
  <a:ea typeface="Malgun Gothic"/>
</a:rPr>
<a:t>"귀무가설이 참일 확률이 3%"라는 뜻인가?</a:t>

Both PDFs embed MalgunGothicBold.

Expected

The entire second paragraph stays on one line, matching PowerPoint.

Actual

office2pdf wraps 가? onto a third line, changing the question-card rhythm.

Visual checklist

  • Slide count/order, all elements, positions, box sizes, fills, borders, text content, colors, and emphasis are preserved.
  • No rotation, flip, clipping, or overflow was found.
  • Differences outside the affected text are font rasterization/antialiasing only.

Visual comparison

GT is on the left; office2pdf output from the audited current-main build is on the right. Both panels were rendered at 150 DPI.

Korean wrapping GT and office2pdf output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions