Skip to content

Fix XLSX Indic script rendering in classic164 #87

Description

@shps951023

Summary

The XLSX benchmark case classic164_indic_scripts still showed a visible mismatch: the MiniPdf output kept the Indic sample column blank while the reference rendered Devanagari, Tamil, Bengali, Telugu, and Gujarati text.

Root Cause

MiniPdf embedded Unicode fonts by mapping Unicode code points directly to CID glyphs, but Indic scripts require shaping. A code point to CID mapping is not enough for these scripts, so the visual output could be missing or incorrectly formed even when text extraction stayed correct.

Proposed Flow

  1. Preserve extractable Unicode text in the PDF.
  2. Render Indic XLSX cell text through the platform text shaper into transparent PNG overlays.
  3. Commit the rendering fix with the refreshed benchmark artifacts.
  4. Push the commit and trace the benchmark result.
  5. Close this issue after the pushed fix is verified.

Validation Target

Run scripts/Run-Benchmark.ps1 -Filter "classic164" and confirm classic164_indic_scripts renders Indic glyphs in classic164_indic_scripts_p1_minipdf.png.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions