<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 - Math symbols rendered as squares"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104661">104661</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Math symbols rendered as squares
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>general
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>maris.nartiss@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=136784" name="attach_136784" title="Test PDF (starting from page 5)">attachment 136784</a> <a href="attachment.cgi?id=136784&action=edit" title="Test PDF (starting from page 5)">[details]</a></span>
Test PDF (starting from page 5)

In one PDF file math symbols are rendered as squares (see 5th page of attached
PDF). On the same system FF built in PDF viewer and MuPDF have no problems with
rendering. Inkscape import gives mixed results – poppler/Cairo backend displays
squares, but "built in (poppler derived)" backend imports file just fine (with
or without "font replacement override").

I tested most of PDF samples I found in bugzilla and none of math symbols
related ones had any issues. Although it is not a proof, it hints on quite good
work of poppler finding a correct font for other PDFs. Thus submitting this
"specimen" for examination.

Tested with:
poppler-0.62.0-r1
poppler-data-0.4.8
Gentoo ~AMD64


pdffonts math_symbol_render_issue.pdf 
name                                 type              encoding         emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
TimesNewRoman                        TrueType          WinAnsi          no  no 
no       6  0
TimesNewRoman,Bold                   TrueType          WinAnsi          no  no 
no       8  0
TimesNewRoman,Italic                 TrueType          WinAnsi          no  no 
no      12  0
TimesNewRoman,BoldItalic             TrueType          WinAnsi          no  no 
no      20  0
Symbol                               TrueType          Symbol           no  no 
no      22  0
Symbol,Italic                        TrueType          Symbol           no  no 
no      33  0
PADFIF+MTExtra                       TrueType          WinAnsi          yes yes
no      42  0
Arial                                TrueType          WinAnsi          no  no 
no      94  0
CourierNew                           TrueType          WinAnsi          no  no 
no     116  0

pdffonts -subst math_symbol_render_issue.pdf 
name                                 object ID substitute font                 
    substitute font file
------------------------------------ ---------
------------------------------------ ------------------------------------
TimesNewRoman                             6  0 Liberation Serif                
    /usr/share/fonts/liberation-fonts/LiberationSerif-Regular.ttf
TimesNewRoman,Bold                        8  0 Liberation Serif Bold           
    /usr/share/fonts/liberation-fonts/LiberationSerif-Bold.ttf
TimesNewRoman,Italic                     12  0 Liberation Serif Italic         
    /usr/share/fonts/liberation-fonts/LiberationSerif-Italic.ttf
TimesNewRoman,BoldItalic                 20  0 Liberation Serif Bold Italic    
    /usr/share/fonts/liberation-fonts/LiberationSerif-BoldItalic.ttf
Symbol                                   22  0 Liberation Sans                 
    /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
Symbol,Italic                            33  0 Liberation Sans Italic          
    /usr/share/fonts/liberation-fonts/LiberationSans-Italic.ttf
Arial                                    94  0 Liberation Sans                 
    /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
CourierNew                              116  0 Liberation Mono                 
    /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf</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>