I'm trying to display and print a HTML file with some huge fonts. For
testing purposes, I inserted the following line at the __init__'s
method of the class MyHtmlWindow on the HTMLWindow demo:
self.SetFonts("", "", [10,10,10,16,18,20,50])
Now I see some huge fonts on screen, but when the page is printed it
seems that the line above is being ignored.
Is that a bug? Is there a workaround? Is there any way to change
the size of the fonts on a HTMLWindow other than using <font
size="+x"> tags?
TIA
-- tacao
No bits were harmed during the making of this e-mail.
I'm trying to display and print a HTML file with some huge fonts. For
testing purposes, I inserted the following line at the __init__'s
method of the class MyHtmlWindow on the HTMLWindow demo:
self.SetFonts("", "", [10,10,10,16,18,20,50])
Now I see some huge fonts on screen, but when the page is printed it
seems that the line above is being ignored.
The HtmlEasyPrinting class also has a SetFonts method.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Tuesday, June 12, 2007, 12:54:10 PM, Robin Dunn wrote:
E. A. Tacao wrote:
Hello,
I'm trying to display and print a HTML file with some huge fonts. For
testing purposes, I inserted the following line at the __init__'s
method of the class MyHtmlWindow on the HTMLWindow demo:
self.SetFonts("", "", [10,10,10,16,18,20,50])
Now I see some huge fonts on screen, but when the page is printed it
seems that the line above is being ignored.
The HtmlEasyPrinting class also has a SetFonts method.
And it works! Thanks for saving my week, Robin!
-- tacao
No bits were harmed during the making of this e-mail.