Re: [xep-support] Warning about missing Fonts in 3.8

From: Nikolai Grigoriev (grig@renderx.com)
Date: Thu Jun 17 2004 - 09:01:33 PDT

  • Next message: Dimitris Dracopoulos: "[xep-support] Making long words in table cells expand the cell height instead of condensing characters"

    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@hotmail.com>
    To: <xep-support@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@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@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



    This archive was generated by hypermail 2.1.5 : Thu Jun 17 2004 - 09:20:29 PDT