So I went ahead and built trunk via 'ant maven-artifacts' and installed the resultant artifacts into my local repo.
I then tried re-running my transformation, but am now getting "NoClassDefFoundError: org/apache/xmlgraphics/util/uri/CommonURIResolver" On Wed, 2009-06-10 at 13:22 -0500, Steve Ebersole wrote: > On Wed, 2009-06-10 at 19:45 +0200, Andreas Delmelle wrote: > > On 10 Jun 2009, at 19:07, Steve Ebersole wrote: > > > > Hi Steve > > > > > For example, on this TTC file TTFReader is showing 4 fonts/subfonts: > > > This is a TrueType collection file with 4 fonts > > > Containing the following fonts: > > > AR PL UMing CN <-- selected > > > AR PL UMing HK > > > AR PL UMing TW > > > AR PL UMing TW MBE > > > Font Family: [AR PL UMing CN] > > > Creating xml font file... > > > Creating CID encoded metrics... > > > Writing xml font file example-font-metrics.xml... > > > This font contains no embedding license restrictions. > > > > > > The one marked "<-- selected" is the one that is coming back from my > > > call to org.apache.fop.fonts.autodetect.FontInfoFinder#find. > > > > I think that is because it is the only sub-font that is referenced in > > your config snippet earlier... > Actually its the other way around. I am constructing that config > snippet based on what > org.apache.fop.fonts.autodetect.FontInfoFinder#find is returning. > > > Try leaving out the explicit font element in the configuration file > > altogether. I'm not a 100% certain, but I believe that is causing the > > confusion here. Explicit individual font elements in the configuration > > file take precedence over those generated by auto-detection. > But from where will the auto-detection take place? I am trying to avoid > having to have users "setting up their system" by installing fonts. > This code is used as part of localized project docbook builds. > > > Either remove it, or add an additional three for the other sub-fonts. > Ok, but again I am not sure how to do that based on the EmbedFontInfo > info FontInfoFinder is returning to me in order to add the other 3. > > > Indeed, and looking at the code, I cannot see why that would not be > > the case here... > Could it be the patched version I am using? As I mentioned, I am using > a patched fop from docx4j versioned as 0.95.756434. I think it was > Jason as well who pointed me at that one because the current fop > releases are not returning an array of EmbedFontInfo instances from > FontInfoFinder. Anyway, there was some signature difference. > > > > > > > Andreas > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > -- Steve Ebersole <[email protected]> Hibernate.org --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
