Skip to content

Commit

Permalink
Resolve #318
Browse files Browse the repository at this point in the history
  • Loading branch information
petervwyatt committed Oct 5, 2023
1 parent bc6377d commit fe6e382
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 2 deletions.
66 changes: 64 additions & 2 deletions docs/32000-2-2020/clause12.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,14 @@ modified: 6 October 2023
</li>
<li>12.7 Forms
<ul>
<li><a href="#H12.7.3">12.7.3 Interactive form dictionary</a>
</li>
<li>12.7.4 Field dictionaries
<ul>
<li><a href="#H12.7.4.1">12.7.4.1 General</a>
</li>
<li><a href="#H12.7.4.3">12.7.4.3 Variable text</a>
</li>
</ul>
</li>
<li>12.7.5 Field types
Expand Down Expand Up @@ -486,7 +490,7 @@ separating text into paragraphs, a CARRIAGE RETURN (0Dh) shall be used and not,
</tr>
<tr>
<td><b>DA</b></td>
<td>string</td>
<td><ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string</td>
<td>
<p>(<i>Required</i>) The default appearance string that shall be used in formatting the text (see 12.7.4.3, "Variable text").</p>
<p>The annotation dictionary's <b>AP</b> entry <del onMouseEnter="mouseEnter(this)" data-issue="42" data-iso="approved">, if present,</del> shall take precedence over the <b>DA</b> entry (see "Table 170 - Entries in an appearance dictionary" and 12.5.5, "Appearance streams").</p>
Expand Down Expand Up @@ -613,7 +617,30 @@ A future edition of ISO 32000 will move this text into a new subclause and updat

<p>...</p>

<h2 id="H12.7">Forms</h2>


<h2 id="H12.7">12.7 Forms</h2>

<h3 id="H12.7.3">12.7.3 Interactive form dictionary</h3>

<p class="location">Change Table 224 as follows:</p>

<table>
<caption id="Table224">Table 224 - Entries in the interactive form dictionary</caption>
<tr>
<th>Key</th>
<th>Type</th>
<th>Value</th>
</tr>
<tr>
<td><b>DA</b></td>
<td><ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string</td>
<td>
(<i>Optional</i>) A document-wide default value for the <b>DA</b> attribute of variable text fields (see 12.7.4.3, "Variable text").
</td>
</tr>
</table>


<h3 id="H12.7.4">12.7.4 Field dictionaries</h3>

Expand Down Expand Up @@ -648,6 +675,41 @@ A future edition of ISO 32000 will move this text into a new subclause and updat
</tr>
</table>

<h4 id="H12.7.4.3">12.7.4.3 Variable text</h4>

<p class="location">Change Table 228 as follows:</p>

<table>
<caption id="Table228">Table 228 - Additional entries common to all fields containing variable text</caption>
<tr>
<th>Key</th>
<th>Type</th>
<th>Value</th>
</tr>
<tr>
<td><b>DA</b></td>
<td><ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string</td>
<td>
(<i>Required; inheritable</i>) The default appearance string containing a sequence of valid page-content graphics or text state operators that define such properties as the field’s text size and colour.
</td>
</tr>
</table>

<p>...</p>

<p class="location">Change the first two paragraphs below the EXAMPLE as follows:</p>

<p>
The default appearance <ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string (<b>DA</b>) contains any graphics state or text state operators needed to establish the graphics state parameters, such as text size and colour, for displaying the field’s variable text. Only operators that are allowed within text objects shall occur in this <ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string (see "Figure 9 — Graphics objects"). At a minimum, the <ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string shall include a <b>Tf</b> (text font) operator along with its two operands, <i>font</i> and <i>size</i>. The specified font value shall match a resource name in the <b>Font</b> entry of the default resource dictionary (referenced from the <b>DR</b> entry of the interactive form dictionary; see "Table 224 — Entries in the interactive form dictionary"). A zero value for <i>size</i> means that the font shall be <i>auto-sized</i>: its size shall be computed as an implementation dependent function.
</p>

<p>
The default appearance <ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string shall contain at most one <b>Tm</b> (text matrix) operator. If this operator is present, the interactive PDF processor shall replace the horizontal and vertical translation components with positioning values it determines to be appropriate, based on the field value, the quadding (<b>Q</b>) attribute, and any layout rules it employs. If the default appearance <ins onMouseEnter="mouseEnter(this)" data-issue="318">byte</ins> string contains no <b>Tm</b> operator, the viewer shall insert one in the appearance stream (with appropriate horizontal and vertical translation components) after the default appearance string and before the text-positioning and text-showing operators for the variable text.
</p>

<p>...</p>


<h3 id="H12.7.5">12.7.5 Field types</h3>

<h4 id="H12.7.5.2">12.7.5.2 Button fields</h4>
Expand Down
2 changes: 2 additions & 0 deletions docs/32000-2-2020/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ All issues related to {{ page.subset }} are recorded in the PDF Association's <a
<li><a href="clause12.html#Table177">Table 177 - Additional entries specific to a free text annotation</a></li>
<li><a href="clause12.html#Table202">Table 202 - Additional entries specific to a go-to action</a></li>
<li><a href="clause12.html#Table220">Table 220 - Additional entries specific to a go-to-3D-view action</a></li>
<li><a href="clause12.html#Table224">Table 224 - Entries in the interactive form dictionary</a></li>
<li><a href="clause12.html#Table226">Table 226 - Entries common to all field dictionaries</a></li>
<li><a href="clause12.html#Table228">Table 228 - Additional entries common to all fields containing variable text</a></li>
<li><a href="clause12.html#Table232">Table 232 - Additional entry specific to a text field</a></li>
<li><a href="clause12.html#Table236">Table 236 - Entries in a signature field lock dictionary</a></li>
<li><a href="clause12.html#Table237">Table 237 - Entries in a signature field seed value dictionary</a></li>
Expand Down

0 comments on commit fe6e382

Please sign in to comment.