RE: [xep-support] Question about rendering character references

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue Aug 02 2005 - 11:16:37 PDT

At 2005-08-02 13:09 -0400, Powell, Todd wrote:
> > As it turns out, it seems I only needed to specify the @font-family as
> > something like "Arial, Symbol, ZapfDingbats"
>
>As a bit of a follow-up, in order to get the characters working, I placed
>the @font-family on each "block" element that appears inside each
>fo:flow. However, it means making sure I specify it on *every* block
>element as it's being generated in the XSLT. Is there a way to move the
>@font-family setting up to the fo:flow, or even higher, so it applies to
>the entire generated document?
>
>- Todd

According to the specification, Section 7.8.2 states that font-family is
inherited.

In the processing model regarding inheritance, Section 5.1.4 states that
inherited properties apply to descendent formatting objects.

You can, therefore, specify font-family= on any ancestor of the characters
to which it applies.

I counsel my students to specify document-wide properties as attributes on
the <root> formatting object as that is the common ancestor of all
constructs in all flows.

I hope this helps.

. . . . . Ken

--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
-------------------
(*) 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/terms-of-service.html
Received on Tue Aug 2 13:33:56 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 02 2005 - 13:33:56 PDT