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 "Varra, Mamatha" <mv...@allstate.com> on 2010/11/04 13:07:51 UTC

font-substitution -FOP1.0

Hi All,

We are upgrading fop 0.95 to 1.0 versions. I could generate the PDF as
expected but I could see some warnings related to font-substitution in
my console. I tried to figure out, but couldn't. Does anyone have seen
these warnings? Your help is greatly appreciated.

Console warnings: 

FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
Font "Symbol,normal,700" not found. Substituting with
"Symbol,normal,400".
FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
Font "ZapfDingbats,normal,700" not found. Substituting with
"ZapfDingbats,normal,400".


Thanks,
Mamatha.




RE: font-substitution -FOP1.0

Posted by "Varra, Mamatha" <mv...@allstate.com>.
Thank u all for your help. I'll try and let u know.


Thanks,
Mamatha.





-----Original Message-----
From: Eric Douglas [mailto:edouglas@blockhouse.com] 
Sent: Thursday, November 04, 2010 2:41 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: font-substitution -FOP1.0

A quick Google shows this has happened before...

http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg14198.html 

-----Original Message-----
From: Pascal Sancho [mailto:pascal.sancho@takoma.fr] 
Sent: Thursday, November 04, 2010 10:00 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: font-substitution -FOP1.0

Hi,
you have such warning because:
 - both Symbol and ZapfDingbats fonts are only provided in regular form;
 - Since FOP 1.0 implement font-selection, all 14 base fonts are set by default, comprising Symbol and ZapfDingbats fonts
 - you use elsewhere a font-weight property with 'bold'

To avoid such warning, you should define your font-family on the fo:root (like all other inherited properties witch have unwished default values)

--
Pascal

Le 04/11/2010 13:07, Varra, Mamatha a écrit :
> Hi All,
> 
> We are upgrading fop 0.95 to 1.0versions.I couldgeneratethe PDF as 
> expected butIcould see some warnings related to font-substitution in 
> my console. I tried to figure out, but couldn't. Does anyonehaveseen 
> thesewarnings?Your help isgreatly appreciated.
> 
> Consolewarnings:
> 
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
> Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
> 
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
> Font "ZapfDingbats,normal,700" not found. Substituting with 
> "ZapfDingbats,normal,400".
> 
> Thanks,
> 
> Mamatha.
> 


---------------------------------------------------------------------
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


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


RE: font-substitution -FOP1.0

Posted by Eric Douglas <ed...@blockhouse.com>.
A quick Google shows this has happened before...

http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg14198.html 

-----Original Message-----
From: Pascal Sancho [mailto:pascal.sancho@takoma.fr] 
Sent: Thursday, November 04, 2010 10:00 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: font-substitution -FOP1.0

Hi,
you have such warning because:
 - both Symbol and ZapfDingbats fonts are only provided in regular form;
 - Since FOP 1.0 implement font-selection, all 14 base fonts are set by default, comprising Symbol and ZapfDingbats fonts
 - you use elsewhere a font-weight property with 'bold'

To avoid such warning, you should define your font-family on the fo:root (like all other inherited properties witch have unwished default values)

--
Pascal

Le 04/11/2010 13:07, Varra, Mamatha a écrit :
> Hi All,
> 
> We are upgrading fop 0.95 to 1.0versions.I couldgeneratethe PDF as 
> expected butIcould see some warnings related to font-substitution in 
> my console. I tried to figure out, but couldn't. Does anyonehaveseen 
> thesewarnings?Your help isgreatly appreciated.
> 
> Consolewarnings:
> 
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
> Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
> 
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
> Font "ZapfDingbats,normal,700" not found. Substituting with 
> "ZapfDingbats,normal,400".
> 
> Thanks,
> 
> Mamatha.
> 


---------------------------------------------------------------------
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: font-substitution -FOP1.0

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi,
you have such warning because:
 - both Symbol and ZapfDingbats fonts are only provided in regular form;
 - Since FOP 1.0 implement font-selection, all 14 base fonts are set by
default, comprising Symbol and ZapfDingbats fonts
 - you use elsewhere a font-weight property with 'bold'

To avoid such warning, you should define your font-family on the fo:root
(like all other inherited properties witch have unwished default values)

--
Pascal

Le 04/11/2010 13:07, Varra, Mamatha a écrit :
> Hi All,
> 
> We are upgrading fop 0.95 to 1.0versions.I couldgeneratethe PDF as
> expected butIcould see some warnings related to font-substitution in my
> console. I tried to figure out, but couldn’t. Does anyonehaveseen
> thesewarnings?Your help isgreatly appreciated.
> 
> Consolewarnings:
> 
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
> Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
> 
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
> Font "ZapfDingbats,normal,700" not found. Substituting with
> "ZapfDingbats,normal,400".
> 
> Thanks,
> 
> Mamatha.
> 


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


unsubscribe

Posted by Greg Stark <gs...@electrorent.com>.
unsubscribe



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


Re: font-substitution -FOP1.0

Posted by Julien Aymé <ju...@gmail.com>.
Hi,

I've had such a bug once, which has not been fixed in trunk yet:
FOP Bug #49301
https://issues.apache.org/bugzilla/show_bug.cgi?id=49301

There is an error in code which prevents user from finding a Font with
weight: 700.

HTH,
Regards,

Julien

2010/11/4 Varra, Mamatha <mv...@allstate.com>:
> Hi Eric,
>
>
>
> Thanks for ur quick reply.
>
> We are using custom fonts. Normally we use font-family-serif for all pdfs,
> and we use normal font,bold and italic styles.
>
>
>
> Thanks,
>
> Mamatha.
>
>
>
> ________________________________
>
> From: Eric Douglas [mailto:edouglas@blockhouse.com]
> Sent: Thursday, November 04, 2010 12:22 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: RE: font-substitution -FOP1.0
>
>
>
> Are you supplying custom fonts or using auto-detect?  Do you have the other
> font?  Typically normal font and bold font are in separate files.
>
>
>
> ________________________________
>
> From: Varra, Mamatha [mailto:mvarr@allstate.com]
> Sent: Thursday, November 04, 2010 8:08 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: font-substitution -FOP1.0
>
> Hi All,
>
> We are upgrading fop 0.95 to 1.0 versions. I could generate the PDF as
> expected but I could see some warnings related to font-substitution in my
> console. I tried to figure out, but couldn’t. Does anyone have seen these
> warnings? Your help is greatly appreciated.
>
> Console warnings:
>
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent Font
> "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
>
> FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent Font
> "ZapfDingbats,normal,700" not found. Substituting with
> "ZapfDingbats,normal,400".
>
> Thanks,
>
> Mamatha.

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


RE: font-substitution -FOP1.0

Posted by "Varra, Mamatha" <mv...@allstate.com>.
Hi Eric,

 

Thanks for ur quick reply.

We are using custom fonts. Normally we use font-family-serif for all
pdfs, and we use normal font,bold and italic styles.

 

Thanks,

Mamatha.









________________________________

From: Eric Douglas [mailto:edouglas@blockhouse.com] 
Sent: Thursday, November 04, 2010 12:22 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: font-substitution -FOP1.0

 

Are you supplying custom fonts or using auto-detect?  Do you have the
other font?  Typically normal font and bold font are in separate files.

 

________________________________

From: Varra, Mamatha [mailto:mvarr@allstate.com] 
Sent: Thursday, November 04, 2010 8:08 AM
To: fop-users@xmlgraphics.apache.org
Subject: font-substitution -FOP1.0

Hi All,

We are upgrading fop 0.95 to 1.0 versions. I could generate the PDF as
expected but I could see some warnings related to font-substitution in
my console. I tried to figure out, but couldn't. Does anyone have seen
these warnings? Your help is greatly appreciated.

Console warnings: 

FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
Font "Symbol,normal,700" not found. Substituting with
"Symbol,normal,400".

FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
Font "ZapfDingbats,normal,700" not found. Substituting with
"ZapfDingbats,normal,400".

Thanks,

Mamatha.


RE: font-substitution -FOP1.0

Posted by Eric Douglas <ed...@blockhouse.com>.
Are you supplying custom fonts or using auto-detect?  Do you have the
other font?  Typically normal font and bold font are in separate files.

________________________________

From: Varra, Mamatha [mailto:mvarr@allstate.com] 
Sent: Thursday, November 04, 2010 8:08 AM
To: fop-users@xmlgraphics.apache.org
Subject: font-substitution -FOP1.0



Hi All,

We are upgrading fop 0.95 to 1.0 versions. I could generate the PDF as
expected but I could see some warnings related to font-substitution in
my console. I tried to figure out, but couldn't. Does anyone have seen
these warnings? Your help is greatly appreciated.

Console warnings: 

FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
Font "Symbol,normal,700" not found. Substituting with
"Symbol,normal,400".

FOUserAgent   W org.apache.fop.events.LoggingEventListener processEvent
Font "ZapfDingbats,normal,700" not found. Substituting with
"ZapfDingbats,normal,400".

Thanks,

Mamatha.