You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Lucian Opris <lu...@bluematrix.com> on 2009/11/25 15:03:03 UTC

Japanese fonts in SVG fop 0.95

Hi All,

I switched to fop 0.95 successfully and now I encounter another problem. The Japanese Fonts inside SVG are showing as ##### even if the font-family inside SVG is correct.

Attached are the files I’m using with command line. Is this issue related to Batik used in the new FOP? I was working fine using Fop 0.25.

 

s ./fop -d -r -v -c conf/fop.xconf -xml Hello.xml -xsl hello.xsl -pdf  JapHelloFOP.pdf

 

Thanks a lot

 

Lucian Opris

 


Re: Japanese fonts in SVG fop 0.95

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Very simple: just install the fonts as if you had to install them for
any other application (like a word processor) that uses system fonts. So
the actual installation depends on your operating system. Check the
documentation of your operating system for detailed instructions.

On 25.11.2009 23:25:17 Lucian Opris wrote:
> Hi,
> Do you have an idea how to install fonts "via the operating system and
> AWT" for Batik? I never did such a thing before. I will of course
> goggle it but in case someone did it before it would be nice to have
> instructions.
> 
> Thanks a lot again
> 
> Lucian Opris
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
> Sent: Wednesday, November 25, 2009 4:18 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Japanese fonts in SVG fop 0.95
> 
> Pascal is right. The fonts actually need to be available to both FOP (via
> configuration) and Batik (via the operating system and AWT). If Batik
> doesn't have access to the font it replaces it and that may cause FOP to
> select a font that doesn't have the glyphs you need.
> 
> On 25.11.2009 15:31:18 Pascal Sancho wrote:
> > Hi,
> > 
> > Batik uses the fonts installed on the host rather than thoses indicated 
> > in the FOP config file.
> > You have to install used fonts directly on the local system to have the 
> > correct font with text in SVG.
> > 
> > Pascal
> > 
> > Lucian Opris a écrit :
> > >
> > > Hi All,
> > >
> > > I switched to fop 0.95 successfully and now I encounter another 
> > > problem. The Japanese Fonts inside SVG are showing as ##### even if 
> > > the font-family inside SVG is correct.
> > >
> > > Attached are the files I’m using with command line. Is this issue 
> > > related to Batik used in the new FOP? I was working fine using Fop 0.25.
> > >
> > >  
> > >
> > > s ./fop -d -r -v -c conf/fop.xconf -xml Hello.xml -xsl hello.xsl -pdf 
> > >  JapHelloFOP.pdf
> > >
> > >  
> > >
> > > Thanks a lot
> > >
> > >  
> > >
> > > Lucian Opris
> > >
> > >  
> > >
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Japanese fonts in SVG fop 0.95

Posted by Lucian Opris <lu...@bluematrix.com>.
Hi,
Do you have an idea how to install fonts "via the operating system and AWT" for Batik? I never did such a thing before. I will of course goggle it but in case someone did it before it would be nice to have instructions.

Thanks a lot again

Lucian Opris

-----Original Message-----
From: Jeremias Maerki [mailto:dev@jeremias-maerki.ch] 
Sent: Wednesday, November 25, 2009 4:18 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Japanese fonts in SVG fop 0.95

Pascal is right. The fonts actually need to be available to both FOP (via
configuration) and Batik (via the operating system and AWT). If Batik
doesn't have access to the font it replaces it and that may cause FOP to
select a font that doesn't have the glyphs you need.

On 25.11.2009 15:31:18 Pascal Sancho wrote:
> Hi,
> 
> Batik uses the fonts installed on the host rather than thoses indicated 
> in the FOP config file.
> You have to install used fonts directly on the local system to have the 
> correct font with text in SVG.
> 
> Pascal
> 
> Lucian Opris a écrit :
> >
> > Hi All,
> >
> > I switched to fop 0.95 successfully and now I encounter another 
> > problem. The Japanese Fonts inside SVG are showing as ##### even if 
> > the font-family inside SVG is correct.
> >
> > Attached are the files I’m using with command line. Is this issue 
> > related to Batik used in the new FOP? I was working fine using Fop 0.25.
> >
> >  
> >
> > s ./fop -d -r -v -c conf/fop.xconf -xml Hello.xml -xsl hello.xsl -pdf 
> >  JapHelloFOP.pdf
> >
> >  
> >
> > Thanks a lot
> >
> >  
> >
> > Lucian Opris
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Japanese fonts in SVG fop 0.95

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Pascal is right. The fonts actually need to be available to both FOP (via
configuration) and Batik (via the operating system and AWT). If Batik
doesn't have access to the font it replaces it and that may cause FOP to
select a font that doesn't have the glyphs you need.

On 25.11.2009 15:31:18 Pascal Sancho wrote:
> Hi,
> 
> Batik uses the fonts installed on the host rather than thoses indicated 
> in the FOP config file.
> You have to install used fonts directly on the local system to have the 
> correct font with text in SVG.
> 
> Pascal
> 
> Lucian Opris a écrit :
> >
> > Hi All,
> >
> > I switched to fop 0.95 successfully and now I encounter another 
> > problem. The Japanese Fonts inside SVG are showing as ##### even if 
> > the font-family inside SVG is correct.
> >
> > Attached are the files I’m using with command line. Is this issue 
> > related to Batik used in the new FOP? I was working fine using Fop 0.25.
> >
> >  
> >
> > s ./fop -d -r -v -c conf/fop.xconf -xml Hello.xml -xsl hello.xsl -pdf 
> >  JapHelloFOP.pdf
> >
> >  
> >
> > Thanks a lot
> >
> >  
> >
> > Lucian Opris
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Japanese fonts in SVG fop 0.95

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi,

Batik uses the fonts installed on the host rather than thoses indicated 
in the FOP config file.
You have to install used fonts directly on the local system to have the 
correct font with text in SVG.

Pascal

Lucian Opris a écrit :
>
> Hi All,
>
> I switched to fop 0.95 successfully and now I encounter another 
> problem. The Japanese Fonts inside SVG are showing as ##### even if 
> the font-family inside SVG is correct.
>
> Attached are the files I’m using with command line. Is this issue 
> related to Batik used in the new FOP? I was working fine using Fop 0.25.
>
>  
>
> s ./fop -d -r -v -c conf/fop.xconf -xml Hello.xml -xsl hello.xsl -pdf 
>  JapHelloFOP.pdf
>
>  
>
> Thanks a lot
>
>  
>
> Lucian Opris
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org