<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 --- - Win32 printer backend fails with scaled_font->cache_frozen assertion"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81709">81709</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Win32 printer backend fails with scaled_font->cache_frozen assertion
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>rodrigorivascosta@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>1.12.16
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=103393" name="attach_103393" title="PATCH: fix the cache_frozen assertion">attachment 103393</a> <a href="attachment.cgi?id=103393&action=edit" title="PATCH: fix the cache_frozen assertion">[details]</a></span>
PATCH: fix the cache_frozen assertion

Hello all!

I'm trying to use cairo 1.12.16 to print on a Win32 printer, and I'm always
getting an assertion error:

    At cairo-scaled-font.c:2961:
    Assertion failed: "scaled_font->cache_frozen"

Googling around, I found a message in the mailing list from Dec. 2013 [1] with
this very same error and some suggestions. Unfortunately it seemed to have
passed unnoticed...

Anyway, I've written a patch that seems to fix the issue (attached).

Best regards.

 [1]: <a href="http://lists.cairographics.org/archives/cairo/2013-December/024848.html">http://lists.cairographics.org/archives/cairo/2013-December/024848.html</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>