c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26916
[Bug 799818] [NEW] Group by field with Chinese Characters Font error
Public bug reported:
When we are on tree view, want to group by a field with chinese content.
the group shown as blank 口口口口 on GTK client, web client works OK.
we found the reason is in source code of
\bin\widget\view\tree_gtk\parser.py
line 299 to line 302
font = pango.FontDescription('Times New Roman bold 10')
if self.field_name in model.field_with_empty_labels:
cell.set_property('foreground', '#AAAAAA')
font = pango.FontDescription('italic 10')
Because here English font only support English text, Chinese text with
double byte can not shown
We solved this issue after remove these lines then let pango select
right Font from local machine
** Affects: openobject-client
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/799818
Title:
Group by field with Chinese Characters Font error
Status in OpenERP GTK Client:
New
Bug description:
When we are on tree view, want to group by a field with chinese
content. the group shown as blank 口口口口 on GTK client, web client works
OK.
we found the reason is in source code of
\bin\widget\view\tree_gtk\parser.py
line 299 to line 302
font = pango.FontDescription('Times New Roman bold 10')
if self.field_name in model.field_with_empty_labels:
cell.set_property('foreground', '#AAAAAA')
font = pango.FontDescription('italic 10')
Because here English font only support English text, Chinese text with
double byte can not shown
We solved this issue after remove these lines then let pango select
right Font from local machine
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/799818/+subscriptions
Follow ups
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Jeff Wang, 2011-07-25
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Naresh(OpenERP), 2011-07-25
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Jeff Wang, 2011-07-22
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Vishal Parmar(Open ERP), 2011-07-22
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Vishal Parmar(Open ERP), 2011-07-22
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Jeff Wang, 2011-07-21
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Vishal Parmar(Open ERP), 2011-07-21
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Jeff Wang, 2011-07-20
-
[Bug 799818] Re: Group by field with Chinese Characters Font error
From: Vishal Parmar(Open ERP), 2011-07-20
-
[Bug 799818] [NEW] Group by field with Chinese Characters Font error
From: Jeff Wang, 2011-06-20
References