Missing text using Type 1 (CID) font in markdown result #430

Open
opened 2026-02-16 00:17:49 -05:00 by yindo · 1 comment
Owner

Originally created by @sophie-aistribute on GitHub (Feb 12, 2025).

Originally assigned to: @hexapode on GitHub.

Describe the bug
The following fonts were used in the PDF, Llama Parse can extract all the text but failed to include some of them (those were using Type 1 (CID) font) into the markdown result.

Image

Files
type1-cid.PDF

Job ID
a924c195-7455-45c0-a186-c3d6527c2df2

Client:

  • Frontend (cloud.llamaindex.ai)
  • Typescript Library

Additional context

  • Premium mode
  • Skip image extraction

Returned Result:

{
  "pages": [
    {
      "page": 1,
      "text": "SHANGHAI,CHINA\n\n\n\nEDMONTON,AB\n\n\n\n                07-JAN-2025",
      "md": "07-JAN-2025",
      "images": [
        {
          "name": "page_1.jpg",
          "height": 841.95,
          "width": 595.35,
          "x": 0,
          "y": 0,
          "original_width": 1131,
          "original_height": 1600,
          "type": "full_page_screenshot"
        }
      ],
      "charts": [],
      "items": [
        {
          "type": "text",
          "value": "07-JAN-2025",
          "md": "07-JAN-2025",
          "bBox": {
            "x": 485,
            "y": 693.95,
            "w": 44,
            "h": 8
          }
        }
      ],
      "status": "OK",
      "links": [],
      "width": 595.35,
      "height": 841.95,
      "triggeredAutoMode": false,
      "parsingMode": "premium",
      "structuredData": null,
      "noStructuredContent": false,
      "noTextContent": false
    }
  ],
  "job_metadata": {
    "credits_used": 150,
    "job_credits_usage": 0,
    "job_pages": 0,
    "job_auto_mode_triggered_pages": 0,
    "job_is_cache_hit": true,
    "credits_max": 1000
  }

Full page screenshot

Image

Originally created by @sophie-aistribute on GitHub (Feb 12, 2025). Originally assigned to: @hexapode on GitHub. **Describe the bug** The following fonts were used in the PDF, Llama Parse can extract all the text but failed to include some of them (those were using Type 1 (CID) font) into the markdown result. ![Image](https://github.com/user-attachments/assets/b63728e3-c753-408b-a613-a357c676331d) **Files** [type1-cid.PDF](https://github.com/user-attachments/files/18773608/type1-cid.PDF) **Job ID** a924c195-7455-45c0-a186-c3d6527c2df2 **Client:** - Frontend (cloud.llamaindex.ai) - Typescript Library **Additional context** - Premium mode - Skip image extraction Returned Result: ```json { "pages": [ { "page": 1, "text": "SHANGHAI,CHINA\n\n\n\nEDMONTON,AB\n\n\n\n 07-JAN-2025", "md": "07-JAN-2025", "images": [ { "name": "page_1.jpg", "height": 841.95, "width": 595.35, "x": 0, "y": 0, "original_width": 1131, "original_height": 1600, "type": "full_page_screenshot" } ], "charts": [], "items": [ { "type": "text", "value": "07-JAN-2025", "md": "07-JAN-2025", "bBox": { "x": 485, "y": 693.95, "w": 44, "h": 8 } } ], "status": "OK", "links": [], "width": 595.35, "height": 841.95, "triggeredAutoMode": false, "parsingMode": "premium", "structuredData": null, "noStructuredContent": false, "noTextContent": false } ], "job_metadata": { "credits_used": 150, "job_credits_usage": 0, "job_pages": 0, "job_auto_mode_triggered_pages": 0, "job_is_cache_hit": true, "credits_max": 1000 } ``` Full page screenshot ![Image](https://github.com/user-attachments/assets/281dbf1c-a1a0-40c4-8054-a4d0ed699c00)
yindo added the bug label 2026-02-16 00:17:49 -05:00
Author
Owner

@sophie-aistribute commented on GitHub (Feb 25, 2025):

For more info: Type 1 (CID) font was not rendered on the full page screenshot. Which might be the reason why the text is missing in markdown result.

@sophie-aistribute commented on GitHub (Feb 25, 2025): For more info: Type 1 (CID) font was not rendered on the full page screenshot. Which might be the reason why the text is missing in markdown result.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#430