1 Reply Latest reply: Apr 4, 2014 10:42 AM by lrosenth RSS

    change font in DA of FreeText Annotation

    sherwood_morovia Community Member

      I am trying to change the default appearance (the DA entry) of a FreeText annotation. To begin with, I can't find anywhere in Acrobat to change the font of a FreeText annotation. My understanding is that I need to create a font alias in DS entry of the AcroForm, then reference it using Tf operator in the DA entry.

       

      Below is the smallest PDF code I created:

       

      %PDF-1.6

      %âãÏÓ

      1 0 obj

      <</Type/Catalog/Pages 2 0 R/AcroForm 3 0 R>>

      endobj

      2 0 obj

      <</Type/Pages/Kids[4 0 R]/Count 1>>

      endobj

      3 0 obj

      <</Fields[]/DR<</Font<</FNT1 5 0 R>>>>>>

      endobj

      4 0 obj

      <</Type/Page/Parent 2 0 R/Resources<<>>/MediaBox[0 0 612 792]/Annots[6 0 R]>>

      endobj

      5 0 obj

      <</Type/Font/Subtype/Type1/BaseFont/Times-Bold>>

      endobj

      6 0 obj

      <</Type/Annot/Rect[10 400 160 570]/CreationDate(D:20140404131900-05'00')/Subtype/FreeText/Contents(OK, Let's just start a content.)/DA(/FNT1 9 Tf\n1 0 0 rg\n0 1 0 RG\n)>>

      endobj

      xref

      0 7

      0000000000 65535 f

      0000000015 00000 n

      0000000075 00000 n

      0000000126 00000 n

      0000000182 00000 n

      0000000275 00000 n

      0000000339 00000 n

      trailer << /Size 7 /Root 1 0 R/ID[<da5bbc2c7a8acf9c73eb1fbda9cf31c6><da5bbc2c7a8acf9c73eb1fbda9cf31c6>]>>

      startxref

      525

      %%EOF

       

      Acrobat failed to display the FreeText annotation in new font and background. The document shows that the FreeText annotation uses Helvetica font, not Time-Bold. 

       

      What is wrong with my code?