Triage uploaded-PDF issues: (1) visual or structural artifacts after SpotDraft/OnlyOffice processing (strikethroughs, numbering, conversion) with Chrome Print workaround; (2) garbled or unreadable text in the *source* PDF due to missing ToUnicode CMap / bad font encoding — same corruption in multiple viewers, Chrome Print often fails. Use when: PDF looks wrong in SpotDraft, OnlyOffice, or after signing; customer says app cannot read stamp paper or agreement language; text is gibberish in Slack preview, Mac Preview, or Chrome; only Acrobat shows readable glyphs but copy/paste is still wrong. Trigger phrases: garbled PDF, unreadable stamp paper, wrong encoding, ToUnicode, PDF text layer broken, uploaded PDF corrupted.
Two related but distinct classes of issues for uploaded PDFs (Upload & Sign, TPP, or similar):
| Pattern | Where the problem lives | Typical fix |
|---|---|---|
| A — Processing / rendering | SpotDraft pipeline, OnlyOffice, conversion, signing stamps | Often Chrome Print flattening |
| B — Source file encoding | PDF created without proper ToUnicode CMap (or equivalent text mapping) | Customer must regenerate PDF from originating tool with correct embedding; SpotDraft cannot repair |
This skill does not cover PDFs generated by SpotDraft from templates (escalate to editor/signing pods if those are wrong system-wide).
Use when the user reports any of:
Do not use for:
Symptoms: strikethroughs that appear only after sign, numbering breaks in OnlyOffice, column distortion after conversion, vendor stamp issues.
SpotDraft relies on PDF processing libraries and OnlyOffice. Problematic source PDFs often have:
Examples:
Flattening often fixes processing artifacts:
Ctrl+P / Cmd+P → Destination Save as PDF → Save.Many PDFs embed glyph outlines that look like letters but use non-standard character codes. A ToUnicode CMap maps those codes to Unicode so viewers and text extraction work.
If the CMap is missing or wrong:
Plain-language explanation for CS: The tool that created the PDF did not embed correct character-mapping information for that text; viewers cannot turn the internal codes into readable Unicode.
Reproduce outside SpotDraft
Open the same file in Chrome PDF, Mac Preview, Slack attachment preview. If all show the same garbling → not a SpotDraft viewer bug.
Check customer’s own evidence
If their screenshot before upload already shows garbled text → source file was already bad (confirmed in incident SPD-41442 thread).
Acrobat behavior
If Acrobat displays readable glyphs but copy/paste is wrong → consistent with missing/broken ToUnicode for that text.
Do not assume Chrome Print will fix it
In SPD-41442, engineering tried:
{contract_id} for audit.| Evidence | Suggests Pattern B | Suggests Pattern A |
|---|---|---|
| Garbled in Chrome + Preview + SpotDraft | Yes | No |
| Garbled only after OnlyOffice or sign | No | Yes |
| Chrome Print fixes it | Unlikely B | Likely A |
| Chrome Print fails; Acrobat export fails | Likely B | — |
| Acrobat OK visually, copy still garbled | Likely B | — |
Pattern A — escalate to Engineering (#pod-editor / #pod-signing by trigger):
Pattern B — do not burn eng cycles on “viewer fix”:
| Reference | Notes |
|---|---|
| SPD-41442 | Nykaa — “does not read language on stamp paper”; missing ToUnicode CMap; mitigated, customer to supply new PDF. |
| Rootly #2897 | Same incident; Slack #incident-20260223-medium-nykaa-issues-with-the-uploaded-pdf-document (C0AGES0SURK). |
| Known example IDs (from ticket; use as examples only) | contract_id 1731631, workspace_id 204155, cluster IN — verify workspace_id in Jira vs ticket body if they differ. |
{contract_id} → workspace, cluster, document URLs.Customer PDF → upload → SpotDraft storage → viewer (e.g. PDF.js / embedded) / OnlyOffice / conversion / signing