[reportlab-users] Times-Bold produces wrong font
    Tim Roberts 
    timr at probo.com
       
    Wed Mar 12 12:54:54 EDT 2008
    
    
  
Stephan Richter wrote:
> Hi everyone,
>
> I just ran the z3c.rml tests against Reportlab 2.1 and noticed that when 
> Times-bold is used, it sometimes renders the text in another font. This is 
> not specific to my system as Christian Theune also sees this problem.
>
> Is this a known bug? You can definitely reproduce the issue by running all 
> tests (--all) in z3c.rml.
I haven't looked at this specific case, but one very common cause for 
this is when people forget that the current font gets reset to the 
default at the beginning of each new page.  When you call 
canvas.showPage(), you have to reset the font.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
    
    
More information about the reportlab-users
mailing list