Closed dwarring closed 3 years ago
Actually, someone could make use of this font, if they're willing to got to the trouble of setting up a /ToUnicode map for the font.
Font should then operate normally for encoding/extracting text etc.
FWIW, CID fonts also have a similar issue. They're not currently respecting the optional /CIDToGIDMap stream.
Fixed in 0.5.3, release, including the handling /CIDToGIDMap streams.
Here's an example of a font that can't currently be represented. From 000377-001.pdf (attached):
It's completely making up it's own encoding with custom glyphs and no unicode map. We couldn't do much with it, rather than render it, but it does show our representations are correct. Also we should be taking account of /CharSet to setup custom encoding -> cid mappings.