[xep-support] Warning about missing Fonts in 3.8

Nikolai Grigoriev grig at renderx.com
Thu Jun 17 09:01:33 PDT 2004


Chris,

> weve just downloaded 3.8 and noticed during our initial 
> testing that it no longer issues a warning if a requested 
> font is not registered in the fonts.sml file. 

It should still issue a warning, but only once per document
per each combination of font-family+font-weight+font-style.
In XEP 3.7, the same warning was repeated multiple times.

I just added font-family="Abracadabra" to a file, and got 
the following from the command line, once per document:

    [warning] file:/C:/XEP38/etc/fonts.xml: could not find 
    a font matching 'Abracadabra', trying 'Helvetica'

If your observed behaviour is different, I would like to 
have a sample of your test FO and fonts.xml off list.

> When I say a warning is not issued, I am talking about 
> using XEP in an embedded java program. No warning 
> event is fired through the logger interface.

It should behave the same from the command line and 
from your application - the console logger cannot invent
warnings :-). One thing worth noticing: warnings about 
missing fonts arrive to the logger specified in the constructor 
for FormatterImpl, not to the session logger. That is, 
if you create FormatterImpl with one logger, and then 
call render() with another one, missing font errors will 
be reported to the former. (It worked this way in XEP 3.7, 
too; so I presume it is not the cause of the problem).

Regards,
Nikolai Grigoriev
RenderX



----- Original Message ----- 
From: "Chris Bowditch" <bowditch_chris at hotmail.com>
To: <xep-support at renderx.com>
Sent: Thursday, June 17, 2004 6:55 PM
Subject: [xep-support] Warning about missing Fonts in 3.8


Hi,

weve just downloaded 3.8 and noticed during our initial testing that it no
longer issues a warning if a requested font is not registered in the fonts.sml
file. Previous versions do issue a warning if a requested font is not found.
This is a serious issue for us, as documents can be sent out with completely
different page breaks, etc because a font wasnt found, but the operator will
be totally unaware of it.

When I say a warning is not issued, I am talking about using XEP in an 
embedded java program. No warning event is fired through the logger interface.

Thanks,

Chris




-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list