[python-win32] Strange page header text in PythonWin
Tim Roberts
timr at probo.com
Fri Jun 3 22:00:54 CEST 2005
On Fri, 3 Jun 2005 12:34:57 -0700, "Robert Adams" <radams at nassco.com> wrote:
>I am somewhat of a newbie to Python, but thanks for the heads-up on where to
>look.
>
>Question, since I have not customized anything that I am aware of, my Python
>environment should be as installed from scratch, so why would I get then
>strange text in page header ?
>
>I am running the following, Python 2.3.3, wxPython 2.4.2.4, PythonWin 2.3.3
>win32all build 163
>
The problem you describe sounds like a font issue: the program is
printing characters that aren't in the font it is using. This sometimes
happens when an application stores its font setting as a number (like,
"the 19th font in the list") instead of a face name, and the font list
changes. I don't think that's the case here.
However, I don't see that the Scintilla code ever sets the font for the
titles. The code itself gets all of the formatting applied, so it gets
fonts and colors. Is the title really being printed with whatever font
was leftover in the dc? That's probably a bug.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-win32
mailing list