http://www.fpdf.org/en/doc/setfont.htm
[image: http://itjp.net.br] <http://itjp.net.br>
http://itjp.net.b <http://itjp.net.br>r
*Ovidio Marinho Falcao Neto*
[email protected]
Brasil
2016-12-06 9:55 GMT-03:00 Ovidio Marinho <[email protected]>:
> Not use '_style ' , why styleFont style. Possible values are (case
> insensitive):
>
> - empty string: regular
> - B: bold
> - I: italic
> - U: underline
>
> for size , use
> sizeFont size in points.
> The default value is the current size. If no size has been specified since
> the beginning of the document, the value taken is 12.Example
>
> // Times regular 12
> $pdf->SetFont('Times');
> // Arial bold 14
> $pdf->SetFont('Arial','B',14);
> // Removes bold
> $pdf->SetFont('');
> // Times bold, italic and underlined 14
> $pdf->SetFont('Times','BIU');
>
>
>
>
>
>
> [image: http://itjp.net.br] <http://itjp.net.br>
> http://itjp.net.b <http://itjp.net.br>r
> *Ovidio Marinho Falcao Neto*
> [email protected]
> Brasil
>
>
> 2016-12-06 9:40 GMT-03:00 Áureo Dias Neto <[email protected]>:
>
>> I am creating a report in pdf, with fpdf ..
>>
>> I use write_html to generate a table in pdf, from a block of python code
>> ..
>> My question, it's about the size of the font, I tried to use '_style =
>> font-size: 12px' .. but to no avail ..
>>
>> Thanks for your help right away.
>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.