Skip to content

Tag Definition: font

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

backcolor

implied

None

color

implied

None

face

implied

None

size

implied

None

Can contain
(#PCDATA | b | a | u | greek | font | span | sup | super | sub | br | strike | pageNumber | evalString | seq | seqDefault | seqReset | seqFormat | seqChain | img | index | name | getName | i | bullet | unichar | link | setLink | onDraw | nobr | loop_i | switch_i | assign_i | if_i | expr)*

Purpose

This lets you alter specific style elements within paragraph blocks.

Check out our docs page on this.

Example usage

<story>
    <para textColor="yellow" backColor="purple" fontSize="30" leading="32.5">
        Example text 1
    </para>
    <para fontSize="30" leading="32.5">
        <font color="red" backcolor="blue" face="ArialBold">
            Example text 2
        </font>
    </para>
</story>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <story> ➔ <para> ➔ <font>