Both of these bugs appear when "Show border hover color for fields" is on.
- In XObject streams used for Text Widget Annotation appearences the BMC operator does not properly respect whitespace. To reproduce:
- Create a fillable form field with a text widget annotation.
- Fill in text in the field, save the document
- Edit the content stream of the appearance stream used for the widget so that there are two spaces between /Tx and BMC instead of 1. Be sure to shorten the content stream by 1 byte (shorten a string by a byte or remove a leading 0 in a decimal) when making the change so as not to change offsets. Save the file.
- Open the file in Acrobat and note the text doesn't appear. Turn "Show border hover color for fields" off and the text appears.
- In XObject streams used fo all WidgetAnnotations, the general color operators, CS, cs, SC, and sc are not respected.
- Create a fillable form field that uses /DeviceGray SC 0 sc to set the text color (this can be done by create a text field and filling it with a lot of repeating non-white space characters and then replacing the 0 g with /DeviceGray 0 sc then shortening the text string to keep the stream length the same. Save the file.
- When the file is opened in Acrobat, the field will appear blank until "Show border hover color for fields" is turned off.
An example file is here.
This file has several fields, two which are prefilled. The first field contains filled in text but does not show (it appears when you turn off "Show border..."). The second is visible.
By editing the raw data, the second field (object 13 0) can be changed to exhibit both bugs. To exhibit the BMC bug, insert a second space between /Tx and BMC and remove a space elsewhere. The exhibit the second bug (after restoring BMC), change both "0 g" and "1 g" with "/DeviceGray cs 1 sc" and "/DeviceGray cs 0 sc" respectively (there is enough blank spaces to do that).