On 21.01.2008 21:23:12 cferrero wrote: > > Ok. thanks... > > If i run java aplication using java libraries, it always have to exists a > xml configuration file to define fonts ?
At the moment, yes. Of course, you can try to build the configuration XML in memory and feed it to FOP. That's always a possibility and quite easy to do. You can either build an Avalon (Default)Configuration object or derive a Configuration object from a DOM (ConfigurationUtil.toConfiguration(Element)) or a SAX stream (SAXConfigurationHandler). > I'm running using java library and excepting fonts the rest is working. > Another thing...i use xsl fast for making xsl file using FO and i have to > modify the xsl "manually" because Apache fop send many errors but xsl-fast > pdf preview works good...thats always like that, i mean exists one software > like xsl fast 100% compatible with apache fop ? Actually, XSLfast uses Apache FOP for the document preview internally as far as I know. But they are probably still using FOP 0.20.5. The current release is much more strict and more FO-complicant than 0.20.5 so there's likely more noise if the FO generated by XSLfast is a bit negligent in some areas. But I haven't seen XSLfast's output so I can only speculate. I've seen output from other FO editors which had exactly this problem. Furthermore, FO editors usually generate quite verbose and generic FO which may not be optimal. Manual tweaking of the generated stylesheets may be necessary for peak performance and best results. You should talk to jCatalog and ask them to look into FOP's latest release and do adjustments if necessary. > regards > > > Jeremias Maerki-2 wrote: > > > > There are some fonts that FOP can't work with. FOP expects TrueType > > fonts to have a Unicode cmap table but not all fonts have that. Your > > barcode font seems to be one of them. I suggest you try another 3 of 9 > > font or, as an alternative, use Barcode4J [1] where you don't need to > > work with fonts in the first place. > > > > [1] http://barcode4j.sourceforge.net > > > > On 21.01.2008 19:05:05 cferrero wrote: > >> > >> Thanks Jeremias i did what document says > >> > >> run TTFReader > >> > >> but it sends me this log > >> > >> Unicode cmap table not present > >> Unsupported format: Aborting > >> > >> im trying to convert 3OF9_NEW.TTF 3 of 9 barcode font...with application > >> comes k3 font with is an older version.... if i can't do this i will have > >> serious troubles, but is extrange because this is a standard bar code > >> very > >> common.... have any ideas ? > >> > >> tks!!!!! > >> > >> > >> > >> > >> Jeremias Maerki-2 wrote: > >> > > >> > http://xmlgraphics.apache.org/fop/stable/fonts.html will tell you how > >> to > >> > configure the fonts for use in FOP. > >> > > >> > http://xmlgraphics.apache.org/fop/stable/embedding.html#config-external > >> > will tell you how to set the configuration file from Java code. > >> > > >> > There's currently no easy way to set up the font configuration in code > >> > (i.e. without the XML file). > >> > > >> > On 21.01.2008 17:28:27 cferrero wrote: > >> >> > >> >> Hi, i'm new with Apache Fop...i downloades jar file and it work good > >> to > >> >> convert xml to pdf. The problem that i have is with FONTS i have > >> messages > >> >> like "org.apache.fop.fonts.FontInfo notifyFontReplacement" i want to > >> use > >> >> for > >> >> example barcode font 3 of 9 Barcode...where i have to configure this > >> >> option > >> >> ? I read something like conf file, but in java library i dont find > >> >> nothing > >> >> like this. > >> >> I will appreciatte your help. > >> >> -- > >> >> View this message in context: > >> >> http://www.nabble.com/Fonts-tp15001005p15001005.html > >> >> Sent from the FOP - Users mailing list archive at Nabble.com. > >> > > >> > > >> > > >> > Jeremias Maerki > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Fonts-tp15001005p15002650.html > >> Sent from the FOP - Users mailing list archive at Nabble.com. > > > > > > > > Jeremias Maerki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Fonts-tp15001005p15005633.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
