RE: Greater than or Equal to symbol Fop 1.0
I wanted to follow up on this thread. After finally spending some time to really see what was causing this issue, I noticed that on output from xml to fo, the symbol was wrapped in a fo:inline with the text-declaration set to upper-case. If I set the symbol lower-case, it works. Which makes sense if there is no upper-case for the character, it renders as #. So simple... I missed it. Thanks for all the help. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Greater-than-or-Equal-to-symbol-Fop-1-0-tp39197p39603.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Cyrrilic font in Apache FOP 1.1
Any other ideas? Nobody uses FOP 1.1? 2013/11/16 Et_soft et_s...@mail.ru Dit not help. Same problem. :( Interesting, if i change font name, FOP dot't write any error, like 'file not found'. Is it normal? font kerning=yes embed-url=/home/name/temp/fonts/arial121334.ttf embedding-mode=subset font-triplet name=Arial style=normal weight=normal/ 2013/11/16 Simon Steiner [via Apache FOP] ml-node+s1065347n39599...@n5.nabble.com Hi, What about using renderers renderer mime=application/pdf fonts font kerning=yes embed-url=/System/Library/Fonts/Arial.ttf embedding-mode=subset font-triplet name=Arial style=normal weight=normal/ /font /fonts /renderer /renderers http://xmlgraphics.apache.org/fop/trunk/fonts.html Thanks -Original Message- From: Amigo [mailto:[hidden email]http://user/SendEmail.jtp?type=nodenode=39599i=0] Sent: 15 November 2013 17:47 To: [hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=1 Subject: Cyrrilic font in Apache FOP 1.1 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-tp39 595.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=39599i=2 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=39599i=3 - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=39599i=4 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=39599i=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-tp39595p39599.html To unsubscribe from Cyrrilic font in Apache FOP 1.1, click herehttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=39595code=ZXRfc29mdEBtYWlsLnJ1fDM5NTk1fC04MTg5MDU3NTI= . NAMLhttp://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=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-tp39595p39604.html Sent from the FOP - Users mailing list archive at Nabble.com.
Re: java.lang.NoSuchMethodError: org.apache.fontbox.cff.CFFFont.getGIDMappings()Ljava/util/ArrayList;
You seem to be using Eclipse. Make sure the fontbox*.jar in the the classpath. On 11/15/13, 7:18 PM, Gonzalo Vasquez wrote: When adding a specific font that contains TrueType fonts or using the auto-detect tag in the fop (trunk version) config file, I'm getting the following exception. Any comments / ideas? java.lang.NoSuchMethodError: org.apache.fontbox.cff.CFFFont.getGIDMappings()Ljava/util/ArrayList; at org.apache.fop.fonts.truetype.OTFFile.updateBBoxAndOffset(OTFFile.java:51) at org.apache.fop.fonts.truetype.OpenFont.readFont(OpenFont.java:740) at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:108) at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:92) at org.apache.fop.fonts.FontLoader.getFont(FontLoader.java:127) at org.apache.fop.fonts.FontLoader.loadFont(FontLoader.java:111) at org.apache.fop.fonts.autodetect.FontInfoFinder.find(FontInfoFinder.java:251) at org.apache.fop.fonts.FontAdder.add(FontAdder.java:63) at org.apache.fop.fonts.DefaultFontConfigurator.addDirectories(DefaultFontConfigurator.java:122) at org.apache.fop.fonts.DefaultFontConfigurator.configure(DefaultFontConfigurator.java:85) at org.apache.fop.render.PrintRendererConfigurator.getCustomFontCollection(PrintRendererConfigurator.java:147) at org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.java:127) at org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:170) at org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:187) at org.apache.fop.area.RenderPagesModel.init(RenderPagesModel.java:75) at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:135) at org.apache.fop.area.AreaTreeHandler.init(AreaTreeHandler.java:105) at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:350) at org.apache.fop.fo.FOTreeBuilder.init(FOTreeBuilder.java:106) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:104) at org.apache.fop.apps.Fop.init(Fop.java:78) at org.apache.fop.apps.FOUserAgent.newFop(FOUserAgent.java:179) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:220) at TestRender.test(TestRender.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl mailto:gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com https://www.facebook.com/altiuz http://twitter.com/altiuz http://www.linkedin.com/company/altiuz
Re: Cyrrilic font in Apache FOP 1.1
On 11/16/13, 8:41 PM, Luis Bernardo wrote: With trunk use: FopFactoryBuilder builder = new FopConfParser(new File(confFile)).getFopFactoryBuilder(); FopFactory fopFactory = builder.build(); On 11/15/13, 6:23 PM, Gonzalo Vasquez wrote: H..I'm using the trunk version for FOP, and methods seems to have changed their signature :( El 15-11-2013, a las 15:21, Amigo et_s...@mail.ru mailto:et_s...@mail.ru escribió: 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] [hidden email] x-msg://22/user/SendEmail.jtp?type=nodenode=39597i=0 Same problem here! How are you telling your code to use such config file? El 15-11-2013, a las 14:47, Amigo [hidden email] http://user/SendEmail.jtp?type=nodenode=39596i=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? --
Re: Cyrrilic font in Apache FOP 1.1
If you don't get an error with a font file that does not exist in your configuration file, that just means the configuration file is not being used. Are you sure the config file is really being loaded? On 11/16/13, 4:06 AM, Amigo wrote: Dit not help. Same problem. :( Interesting, if i change font name, FOP dot't write any error, like 'file not found'. Is it normal? font kerning=yes embed-url=/home/name/temp/fonts/arial121334.ttf embedding-mode=subset font-triplet name=Arial style=normal weight=normal/ 2013/11/16 Simon Steiner [via Apache FOP] [hidden email] /user/SendEmail.jtp?type=nodenode=39602i=0 Hi, What about using renderers renderer mime=application/pdf fonts font kerning=yes embed-url=/System/Library/Fonts/Arial.ttf embedding-mode=subset font-triplet name=Arial style=normal weight=normal/ /font /fonts /renderer /renderers http://xmlgraphics.apache.org/fop/trunk/fonts.html Thanks -Original Message- From: Amigo [mailto:[hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=0] Sent: 15 November 2013 17:47 To: [hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=1 Subject: Cyrrilic font in Apache FOP 1.1 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-tp39 595.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=2 For additional commands, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=3 - To unsubscribe, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=4 For additional commands, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=39599i=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-tp39595p39599.html To unsubscribe from Cyrrilic font in Apache FOP 1.1, click here. NAML http://apache-fop.1065347.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml View this message in context: Re: Cyrrilic font in Apache FOP 1.1 http://apache-fop.1065347.n5.nabble.com/Cyrrilic-font-in-Apache-FOP-1-1-tp39595p39602.html Sent from the FOP - Users mailing list archive http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html at Nabble.com.
Re: Cyrrilic font in Apache FOP 1.1
Hello, the error suggests that a bold font is required (700 is the weight). I think that an entry for the Arial bold is missing in the configuration file. weight=normal means a numeric value of 400 weight=bold means a numeric value of 700 http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font-weight http://xmlgraphics.apache.org/fop/1.1/fonts.html 2013/11/15 Amigo et_s...@mail.ru I have trouble on using Apache FOP 1.1 with arial font on ubuntu. Configuration file fonts.xml: font-triplet name=Arial style=normal weight=normal / font-triplet name=ArialMT style=normal weight=normal / Font Arial,normal,700 not found. Substituting with any,normal,700. What should I fix in order to use Arial font?