Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Are PostScript Type1 seem like CID Keyed fonts supported by PDF? #497

Open
ceztko opened this issue Nov 27, 2024 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@ceztko
Copy link

ceztko commented Nov 27, 2024

Adobe Technical Note #5014 "Adobe CMap and CIDFont Files Specification" describes a special postscript Type1 seem like font format that is CID keyed (examples of such fonts can be found at this link). The specified document is often mentioned in the PDF specification speaking about CMap format, but at page 328 of ISO 32000-2:2020 it's stated:

NOTE For complete documentation on the architecture and the file formats, see Adobe Technical Note
#5092, CID-Keyed Font Technology Overview, and Adobe Technical Note #5014, Adobe CMap and
CIDFont Files Specification. This subclause describes only the PDF objects that represent these
font programs.

So said, it's unclear to me if this font is supported by the PDF specification at all. In fact such format cannot be used in a /Type1 PDF font (because it's neither a regular Type1 Postscript to be embedded in /FontFile nor a CFF converted Type1 font to be embedded in /FontFile3 with subtype /Type1C). It also cannot be used in a PDF /Type0 composite font because supported formats for descendant fonts are either FreeType/OpenType fonts with a glyf table or CFF based fonts (see Table 124).

At page 328 it's mentioned:

As mentioned earlier, PDF does not support the entire CID - keyed font architecture, which is independent of PDF; CID - keyed fonts may be used in other environments".

I wonder if the specification could be more clear explicitly stating if these fonts are supported or not. As an additional information, these fonts can be opened by FreeType and FT_Get_Font_Format returns CID Type 1.

@ceztko ceztko added the bug Something isn't correct label Nov 27, 2024
@petervwyatt petervwyatt added help wanted Extra attention is needed question Further information is requested and removed bug Something isn't correct labels Nov 28, 2024
@petervwyatt petervwyatt added this to the Font and text related milestone Nov 28, 2024
@petervwyatt
Copy link
Member

@lrosenthol ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants