Skip to content

pdf-cmap-fix Cannot Resolve Fonts - No Working Strategy Found. #22

Description

@10zYmon

Issue 1: IE8LS75885

Extracted Tibetan text is garbled — literal U+FFFD characters and stray Latin letters appear in place of Tibetan vowels/subjoined letters.

PDF: to_convert/VE1ER2090/W8LS75885.pdf
W8LS75885.pdf
Fonts involved: Kailasa, Kailasa-Bold, MonlamUniOuChan4, MonlamUniPayTsik, Qomolangma-Art, Qomolangma-Uchen-Sarchung

pdf-cmap-fix can't fix it: All 6 lookup strategies (gid/gname/gshape, plain and PUA-free) return zero upgrades — "no DB match" for every Tibetan font in the file.

Run result (gid tier):

[no DB match] QJSFND+MonlamUniPayTsik
[no DB match] RDLMBP+MonlamUniOuChan4
[no DB match] BDNXVA+Qomolangma-Art
[no DB match] ONKTGH+Kailasa
[no DB match] NUTFYG+Qomolangma-Uchen-Sarchung
[no DB match] HFGRFI+Kailasa-Bold
STATS {'fonts_seen': 13, 'patched': 0, 'upgrades': 0, 'no_change': 5, 'no_match': 8}

Extracted text from that same page:

མཆོད་�ེན་�མ་ག�མ་�ི་མིང་དང་�ངས་མདོར་བ�ན་པ།
བལ་Uལ་མཆོད་�ེན་�མ་གUམ་ནི། �་Uང་ཁ་ཤོར་མཐོང་�ོལ་�ི་མཆོད་�ེན།
འཕགས་པ་ཤིང་Uན་རང་Uང་གི་མཆོད་�ེན། �ག་མོ་Uས་�ིན་�ང་Uབ་�ི་མཆོད་

Issue 2: IE8LS75866

Same garbled-text symptom as IE8LS75885, on a smaller scale (single Tibetan font).

PDF: to_convert/VE1ER2084/W8LS75866.pdf Font involved: Kailasa-Bold
W8LS75866.pdf
pdf-cmap-fix can't fix it: Same failure mode — Kailasa-Bold hits an identical "no DB match" wall across all strategies.

Run result (gid tier):

[no DB match] MTQCQO+Kailasa-Bold
STATS {'fonts_seen': 4, 'patched': 0, 'upgrades': 0, 'no_change': 2, 'no_match': 2}

Extracted text from that page:

༄༅། །ཐེག་པ་ཆེན་པ�་bl�་sby�ང་དོན་བduན་མའི་
rིད་ཡིག་blོ་དམན་འjuག་བདེར་བཀོད་
པ་byང་uབ་གuང་ལམ་ཞེས་

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

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions