PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
> For Type 1, open source projects like PDFLib Lite, Panda, and > iText all demonstrate how to do full embed of a Type 1 font. > For Type 0/Composite fonts, look at iText. It is able to do > subset embedding and creation of Unicode fonts. All right, I'll look for iText...perhaps I should make it clear that the "source code" I want to see isn't a PROGRAM that produced PDF, but a finished PDF file itself. In other words, I'm more interested in studying a correct, working PDF file that has such fonts, and examining how it's put together. I think perhaps you thought I'm looking to examine someone else's code for PRODUCING the PDF's. > Type 0/CID fonts... Is that the right term? Somehow, I thought CID referred to some other way of indexing the sub-fonts...the PostScript ones I have are triggered by a distinguished character inside a string, used as a kind of shift-out mechanism (there was some funny term for that, in PostScript, which I've forgotten, now, thank goodness). > Not as long as you are using Adobe Acrobat 4.0 and later. v3 > didn't know how to handle them, and other PDF viewer vary as well... Ah! Thank you for warning me about that...it might matter. >The current 8.11 version of GS will handle [composite font stringwidth] >quite well... Oh, yes. They fixed it some years ago...I think I'm using 6.01 around here, and haven't seen the problem in that. I believe it was fixed in version 5.something. Actually, it was interesting setting up that PostScript problem back then. The Red Book at the time was ambiguous about some things (later corrected), and I even had to contact a programmer at Adobe at the time to find out what the outputs for various possibilities should look like...it was very confusing, and so, it was hardly surprising that there were many interpreters out there that simply didn't set the font correctly, if it was used in a PostScript program. >Check out the current GS sources... Oh, no! That stuff is way over my head! :-) Thanks again for the guidance. To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
