<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [PATCH] Arthur support for Type3 fonts"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105772">105772</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PATCH] Arthur support for Type3 fonts
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>arthur backend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>oliver.sander@tu-dresden.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=138383" name="attach_138383" title="Patch that prevents 'startPage' to fill the page with white color">attachment 138383</a> <a href="attachment.cgi?id=138383&action=edit" title="Patch that prevents 'startPage' to fill the page with white color">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=105772&attachment=138383'>[review]</a>
Patch that prevents 'startPage' to fill the page with white color

I implemented type3 font support in the Arthur backend, loosely following what
the Cairo backend does.  It's a prototype and needs more testing, but
unfortunately I have only a few documents with type3 fonts.

I'll upload two patches:
1) The first removes code that made the startPage method fill the page with
white color.  It is unclear why this code existed at all.  For type3 fonts it
is problematic because then glyphs can have a white background, rather than a
transparent one.

2) The actual implementation.  It is as short as I could make it, but the
result is not as pretty as could be.  For example, there are now two separate
caches for type3 fonts and other fonts.  I think the best would be to introduce
an abstract ArthurFont base class, and an ArthurFontEngine.cc file similar to
what the Cairo backend does.  I'll promise to provide this as a separate
cleanup patch once the type3 support has been merged.</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>