Re: Set paragraph style small-cups

Andy Robinson <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CABjtApvanEwmw7NwAwreR66=qJ2MVZVh0vosYiuMS_PspDTB7Q@mail.gmail.com>
There is no property 'fontStyle' in our library.   So I guess we are
ignoring extra keyword arguments.  As far as I know we do not support
small caps - there is no such feature in PDF - so you'd have to
transform the text yourself into capitals and switch to a smaller
font.

- Andy


On 13 July 2015 at 13:16, Dani <[email protected]> wrote:
> Hello,
>
> I try set small-cups / small-capitals for paragraph.
>
> Is possible set paragraph to style small-cups?
> any as: fontStyle='small-cups'?
>
> Example:
> ParagraphStyle('',
>                                       fontName = 'Liberation Regular',
>                                       fontSize = 8,
>                         -->>      fontStyle='small-cups',
>                                       alignment = 0,
>                                       spaceBefore = 0.5*cm,
>                                       spaceAfter = 0*cm,
>                                       leftIndent = -1*cm,
>                                       rightIndent = -0.7*cm)
> I test this, but not work.
> Any idea?
> Very thanks!
>
> --
> Dani
>
>
> _______________________________________________
> reportlab-users mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.