On 2011 Mar 12, jida...@jidanni.org wrote: > X-debbugs-Cc: der...@glyphandcog.com > Package: poppler-utils > Version: 0.12.4-1.2 > Severity: wishlist > File: /usr/bin/pdffonts > > pdffonts could also optionally print the number of characters encoded in > each font in the file.
"Number of characters encoded" isn't a well-defined value. There's the PDF encoding object, which may explicitly map all of the characters, or it can be a standard encoding ("WinANSI"), or it can be a standard encoding with some changes (or it can be missing entirely). That's just 8-bit fonts. For 16-bit fonts, it gets even more complicated. The encoding can be a named CMap, or an embedded CMap, or it can just say "Identity-H" (which maps character codes straight through to glyph IDs). And that's just the encoding, which doesn't take into account the number of glyphs in the font (for embedded fonts). So let me ask: what are you planning to use this information for? Maybe there's a better approach to take. - Derek -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org