<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - FreeText annotation ignores font"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81748">81748</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FreeText annotation ignores font
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>phil.ayres@consected.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glib frontend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=103449" name="attach_103449" title="Annotation example">attachment 103449</a> <a href="attachment.cgi?id=103449&action=edit" title="Annotation example">[details]</a></span>
Annotation example

I have been creating PDFs dynamically, with FreeText and signature annotations.
When shown in Evince, FreeText annotations generally show as I formatted them,
but they ignore a specified True Type font. Adobe Reader with the same document
shows the font correctly.

Note: I originally submitted this bug with Evince, not realizing that Poppler
was the PDF frontend for the application. Hopefully I made it to the right
place this time.

In the attached example, the yellow block is a FreeText annotation. The font
which appears in the first line of the document as "Test this font" is also
applied to the FreeText annotation. As you can see, the default Helvetica font
is what is actually displayed in the yellow annotation, when it should match
the font in the "Test this font" line. Other than that, font size, color and
position seems to be applied correctly.

Not a horrible bug, but when adding annotations as I am to go with signatures,
the lack of the TT font makes things look a little clunky.

BTW, I'm running up to date Ubuntu, Evince 3.10, and generating the PDF with
Ruby Prawn gem, and adding the annotations with Ruby Origami PDF gem.

Let me know if I can provide any additional information.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>