Status: New
Owner: ----

New issue 235 by noword.forever: ShellWindow在中文linux下的字体问题
http://code.google.com/p/ulipad/issues/detail?id=235

在中文linux下面,ShellWindow的字体很难看。能否在mixins/ShellWindow.py中加一
个操作系统的判断,如果是linux平台,用wx.py.shell.Shell的默认字体就可以了。

简单测试了一下,mixins/ShellWindow.py中把76-81行注释掉,shell window运行正 常。

        #if not x.default.has_key('shell_font') and
locale.getdefaultlocale()[0] == 'zh_CN':
        #    fontname = u'宋体'

        #import wx.py.editwindow as edit
        #edit.FACES['mono'] = fontname
        #edit.FACES['size'] = fontsize



另外,在linux下,复制粘帖的功能时好时不好,能否说明一下复制粘帖的功能在哪些
文件中实现,我想试试能不能解决此问题。因为wxPython的demo中StyledTextCtrl的
复制粘帖没有任何问题,demo中也没有实现复制粘帖的代码,完全是用默认实现的。

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

To unsubscribe from this group, send email to ulipad+unsubscribegooglegroups.com or reply 
to this email with the words "REMOVE ME" as the subject.

Reply via email to