Box character(fonts?) at list product with category

Bug #707806 reported by mrshelly
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Confirmed
High
Stephane Wirtel (OpenERP)

Bug Description

I use OpenERP AllinOne 6.0.1 for windows. Language (Simplified-Chinese).

in GTK client(6.0.1)..
in product tree view page. client the "category" Group button. got the font problem( Figure1)

just like not found the font file.

and the web client is ok.

Revision history for this message
mrshelly (mrshelly) wrote :
Changed in openobject-client:
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

It's due to the gtk and pygtk package bundled in the installer. The installer has gtk package version < (2, 20, 0) and pygtk version
< (2, 17, 0)

Where as this requires to be bundled with gtk >= 2.20 and pygtk >= 2.17

Assigning it to the packaging manager....

Thanks

Changed in openobject-client:
assignee: OpenERP sa GTK client R&D (openerp-dev-gtk) → Stephane Wirtel (OpenERP) (stephane-openerp)
Revision history for this message
mrshelly (mrshelly) wrote :

Thanks, Naresh...

and I found some warnning logs in openerp-client.exe.log

"C:\Program Files\OpenERP\Client\library.zip\common\common.py:555: PangoWarning: couldn't load font "宋体 Not-Rotated 9", falling back to "Sans Not-Rotated 9", expect ugly output.
C:\Program Files\OpenERP\Client\library.zip\common\common.py:555: PangoWarning: couldn't load font "宋体 Not-Rotated 9", falling back to "Sans Not-Rotated 9", expect ugly output.
C:\Program Files\OpenERP\Client\library.zip\common\common.py:555: PangoWarning: couldn't load font "宋体 Not-Rotated 9", falling back to "Sans Not-Rotated 9", expect ugly output.

"

Revision history for this message
mrshelly (mrshelly) wrote :

I upgrade the pygtk to 2.24.0 (pygtk-all-in-one-2.24.0.win32-py2.6.msi).

And Get same errors:

<pre>
C:\Program Files\OpenERP\6.0.2\client_src\bin\modules\gui\main.py:694: PangoWarn
ing: couldn't load font "宋体 Not-Rotated 9", falling back to "Sans Not-Rotate
d 9", expect ugly output.
  self.glade = glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.te
xtdomain())
C:\Program Files\OpenERP\6.0.2\client_src\bin\modules\gui\main.py:694: PangoWarn
ing: couldn't load font "宋体 9", falling back to "Sans 9", expect ugly output
.
  self.glade = glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.te
xtdomain())

</pre>

the "宋体" is the fontName, and Operation System (Simplified Chinese Windows XP SP3)

Revision history for this message
mrshelly (mrshelly) wrote :

C:\Program Files\OpenERP\6.0.2\client_src\bin\modules\gui\main.py:694: PangoWarn
ing: couldn't load font "瀹嬩綋 Not-Rotated 9", falling back to "Sans Not-Rotate
d 9", expect ugly output.
  self.glade = glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.te
xtdomain())
C:\Program Files\OpenERP\6.0.2\client_src\bin\modules\gui\main.py:694: PangoWarn
ing: couldn't load font "瀹嬩綋 9", falling back to "Sans 9", expect ugly output
.
  self.glade = glade.XML(common.terp_path("openerp.glade"),"win_main",gettext.te
xtdomain())
openerp-client.py:139: PangoWarning: couldn't load font "宋体 Not-Rotated 9", fa
lling back to "Sans Not-Rotated 9", expect ugly output.
  gtk.main()
openerp-client.py:139: PangoWarning: couldn't load font "宋体 9", falling back t
o "Sans 9", expect ugly output.
  gtk.main()
C:\Program Files\OpenERP\6.0.2\client_src\bin\modules\gui\main.py:487: PangoWarn
ing: failed to choose a font, expect ugly output. engine-type='PangoRenderWin32'
, script='common'
  win.show_all()
C:\Program Files\OpenERP\6.0.2\client_src\bin\modules\gui\main.py:528: PangoWarn
ing: couldn't load font "宋体 Bold Not-Rotated 9", falling back to "Sans Bold No
t-Rotated 9", expect ugly output.
  res = win.run()

Revision history for this message
mrshelly (mrshelly) wrote :

Ref: http://shine-it.net/index.php/topic,2474.msg8201.html

the Bug from \bin\widget\view\tree_gtk\parser.py
6.0.2 gtk client .
line 299 and line 302 font hard code. remove it .

It's work fine on Simplified-Chinese windows.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.