On Mon, Sep 25, 2017 at 11:38:05PM +0200, Stephan Witt wrote:
> Am 25.09.2017 um 23:23 schrieb Enrico Forestieri <for...@lyx.org>:
> > 
> > There are a few icons with empty text, but there are also all the ipa icons
> > that contain text. These texts should be changed to paths, otherwise they
> > will be rendered wrongly if the requested font is not present. This is easy
> > to do with inkscape.
> 
> That would be good, indeed.

I have cleaned up some of the icons but not all.

> So I tried this…
> 
> $ lyxconvert -platform minimal -d math-subscript.svg math-subscript.pdf
> lyxconvert: platform is minimal
> lyxconvert: Load file 'math-subscript.svg', infmt is 'auto'
> lyxconvert: Save converted image to file 'math-subscript.pdf', outfmt is ‚pdf'
> 
> … what worked too - even better because no font database is expected.

I think this is going to work on all platforms.

> Probably the text rendering would be broken then. But I’d guess it’s
> broken on Mac with offscreen anyway. At least it seems so if I put some
> strings into the math-subscript.svg text elements.

I see the text when using the offscreen plugin but not when using the
minimal one (characters are replaced by boxes in this case).

-- 
Enrico

Reply via email to