[texhax] Using TTF, OTF and T1 fonts

Oleg Parashchenko olpa at uucode.com
Wed Apr 13 16:22:00 CEST 2011


Hello William,

On Wed, 13 Apr 2011 07:50:12 -0400
William Adams <will.adams at frycomm.com> wrote:

> On Apr 13, 2011, at 5:02 AM, Oleg Parashchenko wrote:
> 
> > Yes. But so far I haven't found a command-line pdf2svg converter.
> 
> Inkscape is supposed to be able to do that:
> 
> http://old.nabble.com/convert-pdf-to-svg-from-command-line-td17797689.html
> 
> inkscape file.pdf --export-plain-svg=file.svg 

Unfortunately, it works only theoretically. In practice,

1) Inkscape seems unable to support fonts, which are embedded in PDF and
not installed in the system. This problem is very common.

And I have no idea how to install, for example, Helvetica Math correctly
and anyway do not want to install it in OS.

2) Inkscape does not re-code symbols with codes forbidden in XML, this
leads to errors:

$ xmllint file.svg 
file.svg:101: parser error : PCDATA invalid Char value 20
...t-family:HVMathEx;-inkscape-font-specification:HVMathEx">^T</tspan>


> 
> William
> 
> -- 
> William Adams
> senior graphic designer
> Fry Communications
> Sphinx of black quartz, judge my vow.
> 


-- 
Oleg Parashchenko  olpa@ http://uucode.com/
http://uucode.com/blog/  XML, TeX, Python, Mac, Chess



More information about the texhax mailing list