[reportlab-users] Problem with embedded font, help needed

Marius Gedminas marius at gedmin.as
Tue Aug 25 08:22:23 EDT 2009


On Tue, Aug 25, 2009 at 07:12:28AM -0300, Roberto Alsina wrote:

> On Tuesday 25 August 2009 05:48:44 Marius Gedminas wrote:

> > On Mon, Aug 24, 2009 at 12:41:57PM -0300, Roberto Alsina wrote:

> > > On Monday 24 August 2009 12:15:45 Robin Becker wrote:

> > > > I think Dinu is right here; unless some kind of string conversions are

> > > > going on it should be OK to write PDFs into a filelike object such as

> > > > StringIO.StringIO and read it back without problems.

> > >

> > > Surely I was mixing some unicode and non-unicode object, or something

> > > like that.

> >

> > Do you have a small example that reproduces the problem?

>

> Not using RL directly, this is via rst2pdf.

>

> I do have two very small PDF's, one that has the problem and one that doesn't,

> and the fragment of code using the StringIO, if that's good enough.


It would be interesting.

The first thing that comes into mind is that maybe you're writing the
contents of the StringIO object into a file object opened in text mode
on a Windows system, but I'm sure you would notice something like that.

Marius Gedminas
--
Linux. Where do you want to go tomorrow?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090825/69a7b985/attachment.pgp>


More information about the reportlab-users mailing list