[Poppler-bugs] [Bug 105772] New: [PATCH] Arthur support for Type3 fonts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 27 19:54:23 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105772

            Bug ID: 105772
           Summary: [PATCH] Arthur support for Type3 fonts
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: arthur backend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: oliver.sander at tu-dresden.de

Created attachment 138383
  --> https://bugs.freedesktop.org/attachment.cgi?id=138383&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180327/de3e3dcb/attachment.html>


More information about the Poppler-bugs mailing list