Re: [PyQt] SVG Glyphs in PyQt

2010-09-15 Thread Colin McPhail
On 15 Sep 2010, at 09:57, Jeremy Sanders wrote: > Kyle Covington wrote: > >> Anyway, my solution is providing a good workaround for the problem, I just >> wanted to give the code out in case someone else was having the same >> issue. >> If pyqt would like an example of a cairo svg from R that di

Re: [PyQt] SVG Glyphs in PyQt

2010-09-15 Thread Jeremy Sanders
Kyle Covington wrote: > Anyway, my solution is providing a good workaround for the problem, I just > wanted to give the code out in case someone else was having the same > issue. > If pyqt would like an example of a cairo svg from R that didn't render I > can send one if you would like to tackle

Re: [PyQt] SVG Glyphs in PyQt

2010-09-14 Thread Kyle Covington
> > I can't speak for Cairo-generated SVG files, but PyQt4 doesn't have a > problem displaying glyphs from SVG font files generated by FontForge, for > example. Assuming that file /Users/colin/MyFonts/MagicFont.svg contains a > valid ... definition then a test file such > as the following shou

Re: [PyQt] SVG Glyphs in PyQt

2010-09-14 Thread Colin McPhail
On 13 Sep 2010, at 19:24, Kyle Covington wrote: > Recently I found that svg files generated by Cairo do not plot properly in > pyqt. The error comes from the use of glyphs which seem not to be shown in > pyqt (this might be wrong but I couldn't find any way of getting glyphs to > render). >

[PyQt] SVG Glyphs in PyQt

2010-09-13 Thread Kyle Covington
Recently I found that svg files generated by Cairo do not plot properly in pyqt. The error comes from the use of glyphs which seem not to be shown in pyqt (this might be wrong but I couldn't find any way of getting glyphs to render). I ended up writing a set of functions that will convert the gly