[reportlab-users] italic fonts

Alex Greif alex.greif at gmail.com
Tue Nov 22 08:04:28 EST 2005

It is only small strings that I want to convert.

strange is the fact that the wxPython Demo is able to display comic
italic. I thought that if it is possible in  the application, then
there would be an easy way to do this in the PDF too. may be wxPython
only skews the text matrix.

Is there a possibility to generate an italic ttf of, which dont
support it by default, or is it a question of license.


On 11/22/05, Andy Robinson <andy at reportlab.com> wrote:
> Alex Greif wrote:
> > Hi,
> >
> > how can I create italic output in the PDF of a font that has no italic
> > version of the ttf file?
> > an example is comic.ttf that has a comicbd.ttf bold version but no
> > italic version
> >
> I think you probably can't.
> Do you want to do whole paragraphs in platypus, or just a few short strings?
> It would be theoretically possible to skew the text matrix with
> enough study of the PDF spec and some affine transformations, but that
> depends how badly you want to do it ;-)
> It's also possible to declare the font family so that it reverts to,
> say, Helvetica-Oblique for the italic bits.
> - Andy
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users


Alex Greif

More information about the reportlab-users mailing list