From: Jared W. <wah...@um...> - 2004-10-01 22:49:01
|
Yeah, now I remember installing those fonts a while ago so I could put symbols in my diagrams in inkscape... For embedding, we need SVG fonts. Would it be kosher to just use this: http://xml.apache.org/batik/ttf2svg.html or its equivalent to convert the BaKoMa fonts to SVG, and then include the resulting SVG fonts in the matplotlib package? Jared > Hmm, this is strange and intriguing. I notice that you do not embed > the fonts in your svg document, which is presumably why most viewers > can't handle it. I confirmed that librsvg, which gqview uses, can't > render the fonts either. The question is, why can Inkscape do it? I > downloaded Inkscape and did a recursive grep through their src as well > as a find in the root of their src tree and found no references to > 'computer modern' or cmex, etc.... Did you have to set some path in > inkscape to see your cm fonts, or did you put them in some standard > place? Anyone have any ideas how inkscape manages to pull off this > trick? > Jared> John, are there any more features still missing from the > Jared> SVG backend? > > That almost does it. I think we need an option to embed the fonts > directly into the svg document like we do for PS, because I think > viewers that have the cm* fonts built in will be the exception rather > than the rule. Fernando Perez has some colleagues who are interested > in embedding clickable tags in svg, but I haven't heard much from > them. > > But overall SVG is in fine shape. |