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>&gt=3B=
 Date: Wed=2C 27 Jan 2016 21:05:11 +0100<br>&gt=3B From: fred.frstn@googlem=
ail.com<br>&gt=3B To: [email protected]<br>&gt=3B CC: mgai=
[email protected]<br>&gt=3B Subject: Re: Boxes around each character<br>&gt=
=3B <br>&gt=3B Hi Martin=2C<br>&gt=3B <br>&gt=3B i could solve the problem =
today.<br>&gt=3B <br>&gt=3B =3D=3D&gt=3B It seems this boxes are for debug =
purpose.<br>&gt=3B <br>&gt=3B I was able to reproduce the effect by adding =
a not properly (or not at all) configured log4j to my test project. <br>&gt=
=3B Our application did not use log4j=2C so there was no log4j.properties. =
But tomcat does. <br>&gt=3B <br>&gt=3B The boxes vanished with a proper con=
figuration.<br>&gt=3B <br>&gt=3B If I set <br>&gt=3B <br>&gt=3B 	log4j.logg=
er.org.apache.fop =3D DEBUG</div><div>MG&gt=3Bwhich version Log4j are you i=
mplementinh?<br>&gt=3B <br>&gt=3B the boxes appear againg<br>&gt=3B <br>&gt=
=3B I'm not sure if the behavior in FOP/Batik is as expected. <br>&gt=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>&gt=3B <br>&gt=3B Best regards and thank you for your support<br>&gt=3B=
 Fred</div><div>MG&gt=3BGlad to hear you have a solution!<br>&gt=3B <br>&gt=
=3B <br>&gt=3B <br>&gt=3B <br>&gt=3B On Sat=2C 23 Jan 2016 10:45:44 -0500<b=
r>&gt=3B Martin Gainty &lt=3B*****@hotmail.com&gt=3B wrote:<br>&gt=3B <br>&=
gt=3B &gt=3B Morning' Fred<br>&gt=3B &gt=3B <br>&gt=3B &gt=3B I am unable t=
o display debug information from the attached files<br>&gt=3B &gt=3B If you=
 set CLASSPATH=3D <br>&gt=3B &gt=3B then run execution from either your mav=
en pom.xml or ant build.xml (displaying the dependency list)<br>&gt=3B &gt=
=3B redirect execution output to a (tee) file and post it here so we can na=
rrow down the problem..specifically:<br>&gt=3B &gt=3B what version batik pr=
oduces this anomaly?<br>&gt=3B &gt=3B what version FOP produces this anomal=
y?<br>&gt=3B &gt=3B what version servlet-api produces this anomaly?<br>&gt=
=3B &gt=3B <br>&gt=3B &gt=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>&gt=3B &=
gt=3B <br>&gt=3B &gt=3B &lt=3Bproject&gt=3B<br>&gt=3B &gt=3B &lt=3BmodelVer=
sion&gt=3B4.0.0&lt=3B/modelVersion&gt=3B<br>&gt=3B &gt=3B &lt=3BgroupId&gt=
=3Borg.apache&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B &lt=3BartifactId&gt=3Bfo=
p&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B &lt=3Bversion&gt=3B1.0&lt=3B/vers=
ion&gt=3B<br>&gt=3B &gt=3B &lt=3Bbuild&gt=3B<br>&gt=3B &gt=3B &lt=3Bplugins=
&gt=3B<br>&gt=3B &gt=3B &lt=3Bplugin&gt=3B<br>&gt=3B &gt=3B &lt=3BgroupId&g=
t=3Borg.apache.maven.plugins&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B &lt=3Bart=
ifactId&gt=3Bmaven-compiler-plugin&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B =
&lt=3Bconfiguration&gt=3B<br>&gt=3B &gt=3B &lt=3B!-- source&gt=3B1.8&lt=3B/=
source --&gt=3B<br>&gt=3B &gt=3B &lt=3B!-- target&gt=3B1.8&lt=3B/target --&=
gt=3B<br>&gt=3B &gt=3B &lt=3B/configuration&gt=3B<br>&gt=3B &gt=3B &lt=3B/p=
lugin&gt=3B<br>&gt=3B &gt=3B &lt=3B/plugins&gt=3B<br>&gt=3B &gt=3B &lt=3B/b=
uild&gt=3B<br>&gt=3B &gt=3B &lt=3Bdependencies&gt=3B<br>&gt=3B &gt=3B &lt=
=3Bdependency&gt=3B<br>&gt=3B &gt=3B &lt=3BgroupId&gt=3Borg.apache.fop&lt=
=3B/groupId&gt=3B<br>&gt=3B &gt=3B &lt=3BartifactId&gt=3Bfop&lt=3B/artifact=
Id&gt=3B<br>&gt=3B &gt=3B &lt=3Bversion&gt=3B${project.version}&lt=3B/versi=
on&gt=3B  &lt=3B!-- assumes repo with apache-fop 1.0 is available to this e=
xecution environment --&gt=3B<br>&gt=3B &gt=3B &lt=3B/dependency&gt=3B<br>&=
gt=3B &gt=3B &lt=3Bdependency&gt=3B<br>&gt=3B &gt=3B &lt=3BgroupId&gt=3Bxer=
ces&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B &lt=3BartifactId&gt=3BxercesImpl&l=
t=3B/artifactId&gt=3B<br>&gt=3B &gt=3B &lt=3Bversion&gt=3B2.9.1&lt=3B/versi=
on&gt=3B<br>&gt=3B &gt=3B &lt=3B/dependency&gt=3B<br>&gt=3B &gt=3B &lt=3Bde=
pendency&gt=3B<br>&gt=3B &gt=3B &lt=3BgroupId&gt=3Borg.apache.ant&lt=3B/gro=
upId&gt=3B<br>&gt=3B &gt=3B &lt=3BartifactId&gt=3Bant-junit&lt=3B/artifactI=
d&gt=3B<br>&gt=3B &gt=3B &lt=3Bversion&gt=3B1.9.4&lt=3B/version&gt=3B      =
                           &lt=3B!-- ant version is 1.9.4 --&gt=3B<br>&gt=
=3B &gt=3B &lt=3B/dependency&gt=3B<br>&gt=3B &gt=3B &lt=3Bdependency&gt=3B<=
br>&gt=3B &gt=3B  &lt=3BgroupId&gt=3Bjunit&lt=3B/groupId&gt=3B<br>&gt=3B &g=
t=3B  &lt=3BartifactId&gt=3Bjunit&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B  =
&lt=3Bversion&gt=3B4.8.2&lt=3B/version&gt=3B                               =
      &lt=3B!-- junit is 4.8.2 --&gt=3B<br>&gt=3B &gt=3B &lt=3B/dependency&=
gt=3B<br>&gt=3B &gt=3B &lt=3Bdependency&gt=3B<br>&gt=3B &gt=3B  &lt=3Bgroup=
Id&gt=3Borg.apache.avalon.framework&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B  &=
lt=3BartifactId&gt=3Bavalon-framework-api&lt=3B/artifactId&gt=3B<br>&gt=3B =
&gt=3B  &lt=3Bversion&gt=3B4.3.1&lt=3B/version&gt=3B<br>&gt=3B &gt=3B &lt=
=3B/dependency&gt=3B<br>&gt=3B &gt=3B &lt=3Bdependency&gt=3B<br>&gt=3B &gt=
=3B  &lt=3BgroupId&gt=3Borg.apache.ant&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B=
  &lt=3BartifactId&gt=3Bant&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B  &lt=3B=
version&gt=3B1.9.4&lt=3B/version&gt=3B                        &lt=3B!-- ant=
 version is 1.9.4 --&gt=3B<br>&gt=3B &gt=3B &lt=3B/dependency&gt=3B<br>&gt=
=3B &gt=3B &lt=3Bdependency&gt=3B<br>&gt=3B &gt=3B  &lt=3BgroupId&gt=3Borg.=
apache.batik&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B  &lt=3BartifactId&gt=3Bba=
tik-extension&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B  &lt=3Bversion&gt=3B1=
.7&lt=3B/version&gt=3B                             &lt=3B!-- batik version =
is 1.7 --&gt=3B<br>&gt=3B &gt=3B &lt=3B/dependency&gt=3B<br>&gt=3B &gt=3B &=
lt=3Bdependency&gt=3B<br>&gt=3B &gt=3B  &lt=3BgroupId&gt=3Borg.apache.batik=
&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B  &lt=3BartifactId&gt=3Bbatik-all&lt=
=3B/artifactId&gt=3B<br>&gt=3B &gt=3B  &lt=3Bversion&gt=3B1.7&lt=3B/version=
&gt=3B                           &lt=3B!-- batik version  is 1.7 --&gt=3B<b=
r>&gt=3B &gt=3B &lt=3B/dependency&gt=3B<br>&gt=3B &gt=3B          &lt=3Bdep=
endency&gt=3B<br>&gt=3B &gt=3B           &lt=3BgroupId&gt=3Bjavax.media&lt=
=3B/groupId&gt=3B<br>&gt=3B &gt=3B           &lt=3BartifactId&gt=3Bjai-core=
&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B           &lt=3Bversion&gt=3B1.1.3=
-alpha&lt=3B/version&gt=3B<br>&gt=3B &gt=3B          &lt=3B/dependency&gt=
=3B<br>&gt=3B &gt=3B          &lt=3Bdependency&gt=3B<br>&gt=3B &gt=3B      =
     &lt=3BgroupId&gt=3Bcommons-logging&lt=3B/groupId&gt=3B<br>&gt=3B &gt=
=3B           &lt=3BartifactId&gt=3Bcommons-logging&lt=3B/artifactId&gt=3B<=
br>&gt=3B &gt=3B           &lt=3Bversion&gt=3B1.2&lt=3B/version&gt=3B<br>&g=
t=3B &gt=3B          &lt=3B/dependency&gt=3B<br>&gt=3B &gt=3B          &lt=
=3Bdependency&gt=3B<br>&gt=3B &gt=3B           &lt=3BgroupId&gt=3Bjavax.ser=
vlet&lt=3B/groupId&gt=3B<br>&gt=3B &gt=3B           &lt=3BartifactId&gt=3Bs=
ervlet-api&lt=3B/artifactId&gt=3B<br>&gt=3B &gt=3B           &lt=3Bversion&=
gt=3B3.1.0&lt=3B/version&gt=3B                &lt=3B!-- servlet-api 3.1.0 r=
equires Tomcat 8.0.30 http://tomcat.apache.org/whichversion.html --&gt=3B<b=
r>&gt=3B &gt=3B          &lt=3B/dependency&gt=3B<br>&gt=3B &gt=3B &lt=3B/de=
pendencies&gt=3B<br>&gt=3B &gt=3B &lt=3B/project&gt=3B<br>&gt=3B &gt=3B <br=
>&gt=3B &gt=3B Martin Gainty<br>&gt=3B &gt=3B _____________________________=
_________________<br>&gt=3B &gt=3B  _____ _          _____             _   =
       _____     ___ _                        _____               _     _  =
 _         <br>&gt=3B &gt=3B |_   _| |_ ___   |  _  |___ ___ ___| |_ ___   =
|   __|___|  _| |_ _ _ _ ___ ___ ___   |   __|___ _ _ ___ _| |___| |_|_|___=
 ___ <br>&gt=3B &gt=3B   | | |   | -_|  |     | . | .'|  _|   | -_|  |__   =
| . |  _|  _| | | | .'|  _| -_|  |   __| . | | |   | . | .'|  _| | . |   |<=
br>&gt=3B &gt=3B   |_| |_|_|___|  |__|__|  _|__=2C|___|_|_|___|  |_____|___=
|_| |_| |_____|__=2C|_| |___|  |__|  |___|___|_|_|___|__=2C|_| |_|___|_|_|<=
br>&gt=3B &gt=3B                        |_|                                =
                                                                    <br>&gt=
=3B <br>&gt=3B ------------------------------------------------------------=
---------<br>&gt=3B To unsubscribe=2C e-mail: batik-users-unsubscribe@xmlgr=
aphics.apache.org<br>&gt=3B For additional commands=2C e-mail: batik-users-=
[email protected]<br>&gt=3B <br></div> 		 	   		  </div></body>
</html>=

--_7fd454fa-d395-4631-861c-77ec26a45915_--