Configuration cfg = cfgBuilder.buildFromFile(new File("/home/name/temp/fonts/userconfig.xml")); Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, out); fopFactory.setUserConfig(cfg);
2013/11/15 Gonzalo Vasquez [via Apache FOP] < ml-node+s1065347n39596...@n5.nabble.com> > Same problem here! > > How are you telling your code to use such config file? > > Gonzalo Vásquez Sáez > Gerente Investigación y Desarrollo (R&D) > Altiuz Soluciones Tecnológicas de Negocios Ltda. > Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 > +56 2 335 2461 > [hidden email] <http://user/SendEmail.jtp?type=node&node=39596&i=0> > http://www.altiuz.cl > http://www.altiuzreports.com > > > > El 15-11-2013, a las 14:47, Amigo <[hidden > email]<http://user/SendEmail.jtp?type=node&node=39596&i=1>> > escribió: > > > I have trouble on using Apache FOP 1.1 with arial font on ubuntu. > > > > Configuration file fonts.xml: > > > > / <fop version="1.0"> > > <base>/home/user/temp/fonts/</base> > > <font-base>/home/user/temp/fonts/</font-base> > > <renderers> > > <renderer mime="application/pdf"> > > <fonts> > > > > <font-triplet name="Arial" style="normal" weight="normal" /> > > <font-triplet name="ArialMT" style="normal" weight="normal" /> > > > > </fonts> > > </renderer> > > </renderers> > > </fop>/ > > Also tried using this: > > > > /<auto-detect/> / > > and > > > > /<directory>/home/user/temp/fonts/</directory>/ > > I am always getting: > > > > Font "Arial,normal,700" not found. Substituting with "any,normal,700". > > > > What should I fix in order to use Arial font? > > > > > > > > -- > > View this message in context: > http://apache-fop.1065347.n5.nabble.com/Cyrrilic-font-in-Apache-FOP-1-1-tp39595.html > > Sent from the FOP - Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=39596&i=2> > > For additional commands, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=39596&i=3> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=39596&i=4> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=39596&i=5> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-fop.1065347.n5.nabble.com/Cyrrilic-font-in-Apache-FOP-1-1-tp39595p39596.html > To unsubscribe from Cyrrilic font in Apache FOP 1.1, click > here<http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=39595&code=ZXRfc29mdEBtYWlsLnJ1fDM5NTk1fC04MTg5MDU3NTI=> > . > NAML<http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Cyrrilic-font-in-Apache-FOP-1-1-tp39595p39597.html Sent from the FOP - Users mailing list archive at Nabble.com.