Comment 3 for bug 742364

Revision history for this message
Gary Ballantyne (gary-ballantyne-e) wrote :

Reproduced with Inkscape 0.48.1 on Ubuntu 11.04.

To generate a simple test case I used the following latex:

\documentclass{article}
\usepackage{lmodern}
\thispagestyle{empty}
\begin{document}
$\sum$
\end{document}

The output from pdflatex shows a single uppercase sigma "sum" (viewed in Evince). I used the "latin modern" font (lmodern above) because -- once the lmodern package is installed in ubuntu -- the import of the non-mathematical symbols (from PDF) looks very good (in inkscape, and when the saved SVG is viewed in firefox). In fact, a some of the maths imports nicely also (subscripts and fractions, for e.g.), but not symbols (sums, integrals, large brackets/braces).

When the test PDF is imported into inkscape the page is blank (it makes no difference whether the "Replace PDF fonts ..." checkbox selected). The XML editor shows a blank text object with the following style:

fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:LMMathExtension10;font-variant:normal;font-weight:normal;font-size:9.9626;writing-mode:lr;-inkscape-font-specification:LMMathExtension10-Regular

Using the LM fonts, my experience is that nothing with "font-family:LMMathExtension10" displays properly (I have tried sums, integrals and large braces/brackets). I am not sure whether this is significant, but looking in Text>Glyphs, with:

FontFamily: LMMathExtension10
Style: Normal
Font Size: 10
Script: All
Range: All

shows only 20 glyphs (around U+F8F0), which apparently relate to constructing large brackets/braces. In particular, I can't find a capital sigma.

Is it possible that the problem is with the definition of LMMathExtension10 that inkscape sees? The PDF (I think anyway) embeds the font -- and possibly using a different font definition than inkscape.