<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FreeText annotation ignores font"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81748#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FreeText annotation ignores font"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81748">bug 81748</a>
              from <span class="vcard"><a class="email" href="mailto:sankhla.dileep96@gmail.com" title="Dileep Sankhla <sankhla.dileep96@gmail.com>"> <span class="fn">Dileep Sankhla</span></a>
</span></b>
        <pre>(In reply to Dileep Sankhla from <a href="show_bug.cgi?id=81748#c14">comment #14</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=140969" name="attach_140969" title="Patch to generate font tags and get font name and create the FreeText Annotations with the Base 14 fonts">attachment 140969</a> <a href="attachment.cgi?id=140969&action=edit" title="Patch to generate font tags and get font name and create the FreeText Annotations with the Base 14 fonts">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=81748&attachment=140969'>[review]</a> [review]
> Patch to generate font tags and get font name and create the FreeText
> Annotations with the Base 14 fonts

> This patch is generated as per my experiment in Poppler and is a workaround
> for the Base 14/standard fonts. It gets rid of the "Invalid_font" tags and
> generates meaningful font tags. Secondly, the font name as per the Base 14
> font names is exactly generated from the QFont and the font name is set in
> the font dictionary inside createAnnotDrawFont. The default is set to
> "Helvetica". What this patch can do is when the Okular program is in the
> memory, you can try different base-14 fonts for the typewriter annotation
> but if you save the PDF doc and then quit it, the fonts will be set to
> "Helvetica".
> Imho this experimental patch can be extended and modified to write the font
> dictionary for the base 14 fonts in the document and to generate freetext
> appearance based on the DA and DR entries and the font dict. The second
> follows the embedded fonts.</span >

This patch was formed over the font color patch here:
<a href="https://bugs.freedesktop.org/attachment.cgi?id=140963">https://bugs.freedesktop.org/attachment.cgi?id=140963</a></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>