[reportlab-users] Set paragraph style small-cups

Andy Robinson andy at reportlab.com
Mon Jul 13 10:32:41 EDT 2015


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 <dani at damufo.com> 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
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users


More information about the reportlab-users mailing list