Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Multiple Font sizes in Caption of Text Field

Avatar

Level 5

I'd like to have a text field caption with a number then a name.

3 Subejct

     However I would prefer the "3" be a 12pt font and the "Subject" part be a 10pt font. Is there a way to achive this in the xml coding? I haven't found a way Livecycle will allow mixed font's in a text field caption.

<font typeface="Arial"/>

                        <margin topInset="0mm" bottomInset="0mm" leftInset="0mm" rightInset="0mm"/>

                        <para vAlign="middle" hAlign="center"/>

                        <caption reserve="20.11mm">

                           <font typeface="Arial" weight="bold"/>

                           <para vAlign="middle" hAlign="center"/>

                           <value>

                              <text>3 Subject:</text>

                           </value>

                        </caption>

                     </field>

1 Reply

Avatar

Level 7

I seemed to be able to get it to work with this:

<value>

                  <exData contentType="text/html">

                     <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.7.0.0"><p style="font-size:12pt;letter-spacing:0in">3<span style="font-size:10pt"> subject</span></p></body>

                  </exData>

</value>