[reportlab-users] Set paragraph style small-cups

Nathalie Steinmetz nathalie at joltlabs.com
Mon Jul 13 10:38:57 EDT 2015


Looking at the source code in 3.2.0, you can use ‘transformText’ instead of ‘fontStyle’ (which doesn’t exist). Options are ‘lowercase’, ‘uppercase’ and ‘capitalize’, so small caps are not supported.

cheers,
Nathalie

 
> On Jul 13, 2015, at 5:16 AM, 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