RE: Boxes around each character
Martin Gainty <[email protected]> Wed, 27 Jan 2016 15:56:44 -0500
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <[email protected]> |
--_7fd454fa-d395-4631-861c-77ec26a45915_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > Date: Wed=2C 27 Jan 2016 21:05:11 +0100 > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: Re: Boxes around each character >=20 > Hi Martin=2C >=20 > i could solve the problem today. >=20 > =3D=3D> It seems this boxes are for debug purpose. >=20 > I was able to reproduce the effect by adding a not properly (or not at al= l) configured log4j to my test project.=20 > Our application did not use log4j=2C so there was no log4j.properties. Bu= t tomcat does.=20 >=20 > The boxes vanished with a proper configuration. >=20 > If I set=20 >=20 > log4j.logger.org.apache.fop =3D DEBUGMG>which version Log4j are you impl= ementinh? >=20 > the boxes appear againg >=20 > I'm not sure if the behavior in FOP/Batik is as expected.=20 > Debug should not be the default=2C if not configured. Also it could be a = good idea using a special property for debug output which would be visible = to the user=2C because someone might want do debug in a production environm= ent. >=20 > Best regards and thank you for your support > FredMG>Glad to hear you have a solution! >=20 >=20 >=20 >=20 > On Sat=2C 23 Jan 2016 10:45:44 -0500 > Martin Gainty <*****@hotmail.com> wrote: >=20 > > Morning' Fred > >=20 > > I am unable to display debug information from the attached files > > If you set CLASSPATH=3D=20 > > then run execution from either your maven pom.xml or ant build.xml (dis= playing the dependency list) > > redirect execution output to a (tee) file and post it here so we can na= rrow down the problem..specifically: > > what version batik produces this anomaly? > > what version FOP produces this anomaly? > > what version servlet-api produces this anomaly? > >=20 > > I will provide you a working pom.xml for apache-fop 1.0 which produces = non-boxed output for servlet-api 3.1.0 > >=20 > > <project> > > <modelVersion>4.0.0</modelVersion> > > <groupId>org.apache</groupId> > > <artifactId>fop</artifactId> > > <version>1.0</version> > > <build> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-compiler-plugin</artifactId> > > <configuration> > > <!-- source>1.8</source --> > > <!-- target>1.8</target --> > > </configuration> > > </plugin> > > </plugins> > > </build> > > <dependencies> > > <dependency> > > <groupId>org.apache.fop</groupId> > > <artifactId>fop</artifactId> > > <version>${project.version}</version> <!-- assumes repo with apache-fo= p 1.0 is available to this execution environment --> > > </dependency> > > <dependency> > > <groupId>xerces</groupId> > > <artifactId>xercesImpl</artifactId> > > <version>2.9.1</version> > > </dependency> > > <dependency> > > <groupId>org.apache.ant</groupId> > > <artifactId>ant-junit</artifactId> > > <version>1.9.4</version> <!-- ant versi= on is 1.9.4 --> > > </dependency> > > <dependency> > > <groupId>junit</groupId> > > <artifactId>junit</artifactId> > > <version>4.8.2</version> <!-- juni= t is 4.8.2 --> > > </dependency> > > <dependency> > > <groupId>org.apache.avalon.framework</groupId> > > <artifactId>avalon-framework-api</artifactId> > > <version>4.3.1</version> > > </dependency> > > <dependency> > > <groupId>org.apache.ant</groupId> > > <artifactId>ant</artifactId> > > <version>1.9.4</version> <!-- ant version is 1.= 9.4 --> > > </dependency> > > <dependency> > > <groupId>org.apache.batik</groupId> > > <artifactId>batik-extension</artifactId> > > <version>1.7</version> <!-- batik version = is 1.7 --> > > </dependency> > > <dependency> > > <groupId>org.apache.batik</groupId> > > <artifactId>batik-all</artifactId> > > <version>1.7</version> <!-- batik version i= s 1.7 --> > > </dependency> > > <dependency> > > <groupId>javax.media</groupId> > > <artifactId>jai-core</artifactId> > > <version>1.1.3-alpha</version> > > </dependency> > > <dependency> > > <groupId>commons-logging</groupId> > > <artifactId>commons-logging</artifactId> > > <version>1.2</version> > > </dependency> > > <dependency> > > <groupId>javax.servlet</groupId> > > <artifactId>servlet-api</artifactId> > > <version>3.1.0</version> <!-- servlet-api 3.1.= 0 requires Tomcat 8.0.30 http://tomcat.apache.org/whichversion.html --> > > </dependency> > > </dependencies> > > </project> > >=20 > > Martin Gainty > > ______________________________________________ > > _____ _ _____ _ _____ ___ _ = _____ _ _ _ =20 > > |_ _| |_ ___ | _ |___ ___ ___| |_ ___ | __|___| _| |_ _ _ _ = ___ ___ ___ | __|___ _ _ ___ _| |___| |_|_|___ ___=20 > > | | | | -_| | | . | .'| _| | -_| |__ | . | _| _| | | |= .'| _| -_| | __| . | | | | . | .'| _| | . | | > > |_| |_|_|___| |__|__| _|__=2C|___|_|_|___| |_____|___|_| |_| |____= _|__=2C|_| |___| |__| |___|___|_|_|___|__=2C|_| |_|___|_|_| > > |_| = =20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: [email protected] > For additional commands=2C e-mail: [email protected]= g >=20 = --_7fd454fa-d395-4631-861c-77ec26a45915_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'><font face=3D"Arial=2Csans-serif= " color=3D"#000000"><br id=3D"FontBreak"></font><br><br><br><br><div>>=3B= Date: Wed=2C 27 Jan 2016 21:05:11 +0100<br>>=3B From: fred.frstn@googlem= ail.com<br>>=3B To: [email protected]<br>>=3B CC: mgai= [email protected]<br>>=3B Subject: Re: Boxes around each character<br>>= =3B <br>>=3B Hi Martin=2C<br>>=3B <br>>=3B i could solve the problem = today.<br>>=3B <br>>=3B =3D=3D>=3B It seems this boxes are for debug = purpose.<br>>=3B <br>>=3B I was able to reproduce the effect by adding = a not properly (or not at all) configured log4j to my test project. <br>>= =3B Our application did not use log4j=2C so there was no log4j.properties. = But tomcat does. <br>>=3B <br>>=3B The boxes vanished with a proper con= figuration.<br>>=3B <br>>=3B If I set <br>>=3B <br>>=3B log4j.logg= er.org.apache.fop =3D DEBUG</div><div>MG>=3Bwhich version Log4j are you i= mplementinh?<br>>=3B <br>>=3B the boxes appear againg<br>>=3B <br>>= =3B I'm not sure if the behavior in FOP/Batik is as expected. <br>>=3B De= bug should not be the default=2C if not configured. Also it could be a good= idea using a special property for debug output which would be visible to t= he user=2C because someone might want do debug in a production environment.= <br>>=3B <br>>=3B Best regards and thank you for your support<br>>=3B= Fred</div><div>MG>=3BGlad to hear you have a solution!<br>>=3B <br>>= =3B <br>>=3B <br>>=3B <br>>=3B On Sat=2C 23 Jan 2016 10:45:44 -0500<b= r>>=3B Martin Gainty <=3B*****@hotmail.com>=3B wrote:<br>>=3B <br>&= gt=3B >=3B Morning' Fred<br>>=3B >=3B <br>>=3B >=3B I am unable t= o display debug information from the attached files<br>>=3B >=3B If you= set CLASSPATH=3D <br>>=3B >=3B then run execution from either your mav= en pom.xml or ant build.xml (displaying the dependency list)<br>>=3B >= =3B redirect execution output to a (tee) file and post it here so we can na= rrow down the problem..specifically:<br>>=3B >=3B what version batik pr= oduces this anomaly?<br>>=3B >=3B what version FOP produces this anomal= y?<br>>=3B >=3B what version servlet-api produces this anomaly?<br>>= =3B >=3B <br>>=3B >=3B I will provide you a working pom.xml for apach= e-fop 1.0 which produces non-boxed output for servlet-api 3.1.0<br>>=3B &= gt=3B <br>>=3B >=3B <=3Bproject>=3B<br>>=3B >=3B <=3BmodelVer= sion>=3B4.0.0<=3B/modelVersion>=3B<br>>=3B >=3B <=3BgroupId>= =3Borg.apache<=3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3Bfo= p<=3B/artifactId>=3B<br>>=3B >=3B <=3Bversion>=3B1.0<=3B/vers= ion>=3B<br>>=3B >=3B <=3Bbuild>=3B<br>>=3B >=3B <=3Bplugins= >=3B<br>>=3B >=3B <=3Bplugin>=3B<br>>=3B >=3B <=3BgroupId&g= t=3Borg.apache.maven.plugins<=3B/groupId>=3B<br>>=3B >=3B <=3Bart= ifactId>=3Bmaven-compiler-plugin<=3B/artifactId>=3B<br>>=3B >=3B = <=3Bconfiguration>=3B<br>>=3B >=3B <=3B!-- source>=3B1.8<=3B/= source -->=3B<br>>=3B >=3B <=3B!-- target>=3B1.8<=3B/target --&= gt=3B<br>>=3B >=3B <=3B/configuration>=3B<br>>=3B >=3B <=3B/p= lugin>=3B<br>>=3B >=3B <=3B/plugins>=3B<br>>=3B >=3B <=3B/b= uild>=3B<br>>=3B >=3B <=3Bdependencies>=3B<br>>=3B >=3B <= =3Bdependency>=3B<br>>=3B >=3B <=3BgroupId>=3Borg.apache.fop<= =3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3Bfop<=3B/artifact= Id>=3B<br>>=3B >=3B <=3Bversion>=3B${project.version}<=3B/versi= on>=3B <=3B!-- assumes repo with apache-fop 1.0 is available to this e= xecution environment -->=3B<br>>=3B >=3B <=3B/dependency>=3B<br>&= gt=3B >=3B <=3Bdependency>=3B<br>>=3B >=3B <=3BgroupId>=3Bxer= ces<=3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3BxercesImpl&l= t=3B/artifactId>=3B<br>>=3B >=3B <=3Bversion>=3B2.9.1<=3B/versi= on>=3B<br>>=3B >=3B <=3B/dependency>=3B<br>>=3B >=3B <=3Bde= pendency>=3B<br>>=3B >=3B <=3BgroupId>=3Borg.apache.ant<=3B/gro= upId>=3B<br>>=3B >=3B <=3BartifactId>=3Bant-junit<=3B/artifactI= d>=3B<br>>=3B >=3B <=3Bversion>=3B1.9.4<=3B/version>=3B = <=3B!-- ant version is 1.9.4 -->=3B<br>>= =3B >=3B <=3B/dependency>=3B<br>>=3B >=3B <=3Bdependency>=3B<= br>>=3B >=3B <=3BgroupId>=3Bjunit<=3B/groupId>=3B<br>>=3B &g= t=3B <=3BartifactId>=3Bjunit<=3B/artifactId>=3B<br>>=3B >=3B = <=3Bversion>=3B4.8.2<=3B/version>=3B = <=3B!-- junit is 4.8.2 -->=3B<br>>=3B >=3B <=3B/dependency&= gt=3B<br>>=3B >=3B <=3Bdependency>=3B<br>>=3B >=3B <=3Bgroup= Id>=3Borg.apache.avalon.framework<=3B/groupId>=3B<br>>=3B >=3B &= lt=3BartifactId>=3Bavalon-framework-api<=3B/artifactId>=3B<br>>=3B = >=3B <=3Bversion>=3B4.3.1<=3B/version>=3B<br>>=3B >=3B <= =3B/dependency>=3B<br>>=3B >=3B <=3Bdependency>=3B<br>>=3B >= =3B <=3BgroupId>=3Borg.apache.ant<=3B/groupId>=3B<br>>=3B >=3B= <=3BartifactId>=3Bant<=3B/artifactId>=3B<br>>=3B >=3B <=3B= version>=3B1.9.4<=3B/version>=3B <=3B!-- ant= version is 1.9.4 -->=3B<br>>=3B >=3B <=3B/dependency>=3B<br>>= =3B >=3B <=3Bdependency>=3B<br>>=3B >=3B <=3BgroupId>=3Borg.= apache.batik<=3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3Bba= tik-extension<=3B/artifactId>=3B<br>>=3B >=3B <=3Bversion>=3B1= .7<=3B/version>=3B <=3B!-- batik version = is 1.7 -->=3B<br>>=3B >=3B <=3B/dependency>=3B<br>>=3B >=3B &= lt=3Bdependency>=3B<br>>=3B >=3B <=3BgroupId>=3Borg.apache.batik= <=3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3Bbatik-all<= =3B/artifactId>=3B<br>>=3B >=3B <=3Bversion>=3B1.7<=3B/version= >=3B <=3B!-- batik version is 1.7 -->=3B<b= r>>=3B >=3B <=3B/dependency>=3B<br>>=3B >=3B <=3Bdep= endency>=3B<br>>=3B >=3B <=3BgroupId>=3Bjavax.media<= =3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3Bjai-core= <=3B/artifactId>=3B<br>>=3B >=3B <=3Bversion>=3B1.1.3= -alpha<=3B/version>=3B<br>>=3B >=3B <=3B/dependency>= =3B<br>>=3B >=3B <=3Bdependency>=3B<br>>=3B >=3B = <=3BgroupId>=3Bcommons-logging<=3B/groupId>=3B<br>>=3B >= =3B <=3BartifactId>=3Bcommons-logging<=3B/artifactId>=3B<= br>>=3B >=3B <=3Bversion>=3B1.2<=3B/version>=3B<br>&g= t=3B >=3B <=3B/dependency>=3B<br>>=3B >=3B <= =3Bdependency>=3B<br>>=3B >=3B <=3BgroupId>=3Bjavax.ser= vlet<=3B/groupId>=3B<br>>=3B >=3B <=3BartifactId>=3Bs= ervlet-api<=3B/artifactId>=3B<br>>=3B >=3B <=3Bversion&= gt=3B3.1.0<=3B/version>=3B <=3B!-- servlet-api 3.1.0 r= equires Tomcat 8.0.30 http://tomcat.apache.org/whichversion.html -->=3B<b= r>>=3B >=3B <=3B/dependency>=3B<br>>=3B >=3B <=3B/de= pendencies>=3B<br>>=3B >=3B <=3B/project>=3B<br>>=3B >=3B <br= >>=3B >=3B Martin Gainty<br>>=3B >=3B _____________________________= _________________<br>>=3B >=3B _____ _ _____ _ = _____ ___ _ _____ _ _ = _ <br>>=3B >=3B |_ _| |_ ___ | _ |___ ___ ___| |_ ___ = | __|___| _| |_ _ _ _ ___ ___ ___ | __|___ _ _ ___ _| |___| |_|_|___= ___ <br>>=3B >=3B | | | | -_| | | . | .'| _| | -_| |__ = | . | _| _| | | | .'| _| -_| | __| . | | | | . | .'| _| | . | |<= br>>=3B >=3B |_| |_|_|___| |__|__| _|__=2C|___|_|_|___| |_____|___= |_| |_| |_____|__=2C|_| |___| |__| |___|___|_|_|___|__=2C|_| |_|___|_|_|<= br>>=3B >=3B |_| = <br>>= =3B <br>>=3B ------------------------------------------------------------= ---------<br>>=3B To unsubscribe=2C e-mail: batik-users-unsubscribe@xmlgr= aphics.apache.org<br>>=3B For additional commands=2C e-mail: batik-users-= [email protected]<br>>=3B <br></div> </div></body> </html>= --_7fd454fa-d395-4631-861c-77ec26a45915_--