Path: csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.046 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'false,': 0.07; 'subject:Windows': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'windows': 0.20; 'trying': 0.22; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'javier': 0.29; 'posting': 0.32; 'but': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'still': 0.40; 'skip:u 10': 0.61; 'charset:windows-1252': 0.62; 'success,': 0.63; 'more': 0.63; "they're": 0.66; 'received:12': 0.81; 'url:wxpython': 0.84; 'wxpython.': 0.84; 'url:php': 0.86 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Emile van Sebille Subject: Re: monospaced font in MS Windows with wxpython Date: Fri, 11 Sep 2015 15:28:35 -0700 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: www.westernstatesglass.com User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442010617 news.xs4all.nl 23808 [2001:888:2000:d::a6]:36554 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96372 On 9/11/2015 3:16 PM, Javier wrote: > I am trying to use a monospaced font (preferably small) in MS Windows > with wxpython. I have tried > > txtctrl.SetFont(wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL, False, u'Consolas')) > > but no success, I still get a proportional font. > You may also want to try posting to http://www.wxpython.org/maillist.php as they're more wxpython focused. Emile