Hi Craig, I don't know if you've already looked at this, but these are specs you need to look at:
http://www.adobe.com/devnet/font.html The 5014 CIDFont files spec is particularly important. Hope that helps Mehdi On 20 January 2012 01:59, Craig Ringer <[email protected]> wrote: > On 19/01/12 19:54, Chris Bowditch wrote: >> That's true of FOP trunk, but we have developed advanced font support >> for Postscript in a branch named TTFinPostscript, which we've >> successfully used to generate Chinese and Thai output. If you checkout >> and compile the branch you can use the feature too. Although I believe >> there are a few bugs which are fixed by a (as yet unapplied) patch in >> Bugzilla. So if you run into a bug using the branch you will need to >> apply the patch. >> > Ooh, that's promising. I'll check it out. > > (On a side note, I wonder if fop'll move to git at any point? > Bugzilla-patch -> svn branch isn't the most fun workflow for > non-committer contributors). > >>> I'm working on implementing font subset merging in fop-pdf-image, or at >>> least font re-embedding, but it's quite complicated to do and will take >>> time, esp as I have to get this project out the door and working ASAP so >>> I can't put too much time into that right now. I seem to be hitting >>> another limitation whenever I find a workaround for one, though. >> >> We've discussed this before. Mehdi sent Jeremias a patch offlist to >> partially resolve this, but its only for fonts within the same input >> PDF. If you have lots of smaller PDFs then the fonts won't be >> de-duplicated. If you do get round to developing a more advanced >> de-duplication then we'd love to see a patch :-) If you need Mehdi's >> patch then feel free to yell and I'm sure Mehdi will happily post it >> here. > > I'd love a copy, yeah. I'm not sure how much it'll help, as font merging > across PDFs requires more information to be shared between image plugin > invocations than is currently possible and requires image plugins to be > notified just before the trailer and resource dict are written out, too. > > The biggest problem will be the logic of actually merging subsets, > though. I'm finding it astonishingly hard to find good information on > how fonts are actually subset for PDF - the PDF ref doesn't say much at > all about how the actual embedded font file is altered for subsetting. > > -- > Craig Ringer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
