Re: Set paragraph style small-cups

Nathalie Steinmetz <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
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 <[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

_______________________________________________
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.