<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 - Glyph size/appearance errors"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91829">91829</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Glyph size/appearance errors
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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>xlib backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>freedesktop-bugs@jbeekman.nl
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=118021" name="attach_118021" title="Compile with gcc -I/usr/include/freetype2 -I/usr/include/cairo cairo_xlib_simple.c -lcairo -lX11 -lfreetype">attachment 118021</a> <a href="attachment.cgi?id=118021&action=edit" title="Compile with gcc -I/usr/include/freetype2 -I/usr/include/cairo cairo_xlib_simple.c -lcairo -lX11 -lfreetype">[details]</a></span>
Compile with gcc -I/usr/include/freetype2 -I/usr/include/cairo
cairo_xlib_simple.c -lcairo -lX11 -lfreetype
Certain fonts/sizes get rendered incorrectly on certain distributions of Linux.
This mostly happens when rendering PDFs that were generated using LaTeX in a
browser using pdf.js.
I have extracted and attached the font from a PDF file with a rendering error
(as converted to OpenType using pdf.js). I have attached a small test program
that demonstrates the error using that font.
Distributions that seem to be affected:
* Most versions of Ubuntu/Debian
* Arch Linux with infinality-patched freetype/fontconfig/cairo
This seems to be a long-standing bug across many versions of various software.
Firefox bug report: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1200077">https://bugzilla.mozilla.org/show_bug.cgi?id=1200077</a>
pdf.js bug report: <a href="https://github.com/mozilla/pdf.js/issues/2594">https://github.com/mozilla/pdf.js/issues/2594</a>
In the next few comments I will attach screenshots of renderings including
version information.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>