<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Text sized and positioned incorrectly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95344#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Text sized and positioned incorrectly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95344">bug 95344</a>
              from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
        <pre>(In reply to Adrian Johnson from <a href="show_bug.cgi?id=95344#c2">comment #2</a>)
<span class="quote">> (In reply to Thomas Freitag from <a href="show_bug.cgi?id=95344#c1">comment #1</a>)
> > Cairo uses the same implementation but it never caches the glyphs, so they
> > are always redrawn.

> Cairo caches the glyphs within cairo. Always drawing the glyphs would be
> very slow.</span >

??? 
Looking in the implementation of CairoOutputDev::beginType3Char the code of the
glyph is not saved or used, it always return gFalse, therefore Gfx calls
display for the charProc and the endType3Char always, and
CairoOutputDev::endType3Char just restores what is saved in beginType3Char. Is
there some magic I don't understand?

On the other hand, I missed that splash indeed uses sometimes the cached glyphs
for this PDF, I missed that somehow in my first investigation. And the
rendering time increases a little bit 

w using the cache

real    0m0.182s
user    0m0.163s
sys     0m0.021s

w/o using the cache

real    0m0.214s
user    0m0.200s
sys     0m0.018s

So I fear I need some more time for investigation.</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>