|
Characters of data grid in Position Dimension exceeds the cell
<< Wenfeng Shao -- 06/11/08 13:57:31>>
Jean test PC-DMIS in Chinese window xp system, the data grid of Position Dimension dialogs can't show correctly. But I test it in my English xp system, it' ok. Jean and I get the snapshots of the dialogs. See attachment pls.
<<END>>
<< Yanhua Huang -- 03/30/09 21:44:54>>
Hi Yanhua,
I have moved this one to Stop Release.
Thanks,
Tim
<<END>>
<< Changes made by Tim Wernicke -- 03/30/09 08:37:43>>
Status: RESOLVED to OPEN, Priority: Critical to Stop Rel.
<<END>>
<< Yanhua Huang -- 03/30/09 17:19:16>>
Tim,
Could you set the PR to stop Real.? I want to fix the PR into V43MR2 for Chinese Users.
<<END>>
<< Wenfeng Shao (Test Notes) -- 03/30/09 14:58:21>>
HI Yanhua,
Was V43MR2 not fixed yet? I tested V432 20090323, it isn't fixed.
Wenfeng
<<END>>
<< Changes made by Wenfeng Shao -- 03/30/09 15:02:18>>
Action: Wenfeng Shao to Yanhua Huang
<<END>>
<< Changes made by Yanhua Huang -- 03/24/09 21:22:58>>
Action: David Petrizze to Wenfeng Shao, Status: REVIEW to RESOLVED
<<END>>
<< Yanhua Huang -- 07/21/08 13:17:31>>
******************************
Mon Jul 21 11:55:53 2008
******************************
Files inserted to server
------------------------
V44B\DIMENS\FCFGRIDCTRL.CPP
// use output dlg font as data grid font
void CFCFGridCtrl:reSubclassWindow()
{
CWnd:reSubclassWindow();
CWnd* pWnd = GetParent();
if(pWnd)
{
CFont* pFont = pWnd->GetFont();
if(pFont)
{
LOGFONT lf;
pFont->GetLogFont(&lf);
HFONT hFont = ::CreateFontIndirect(&lf);
OnSetFont((LPARAM)hFont, 0);
DeleteObject(hFont);
}
}
Initialise();
}
<<END>>
<< Yanhua Huang -- 07/21/08 13:16:12>>
Wenfeng,
Since Don and Dave told me no special reason for this, I changed advanced page font as the font of grid ctrl, fixed PR 255379 in V4.4B.
Yanhua
From: Don Turcotte
Sent: 2008Äê7ÔÂ10ÈÕ 1:00 AM
To: Yanhua HUANG
Subject: RE: questions about PR 255379
Yanhua,
I asked Dave about this. Here is his answer:
"It's been a while but my guess is that the Grid Ctrl was a third-party control and the font was set by the originator.
"
Regards,
Don
<<END>>
<< Yanhua Huang -- 07/08/08 17:41:16>>
could reproduce in office destop connected to machine leitz. cell height is determined by default system message font height (why use default system message font in grid of FCF?).
(Display Properties->Appearance->Advanced->Item::MessageBox->Font&Size),
User can select other english font (such as tohoma) to fix the PR in former versions.
Now fixed it in V44B. change cell height = font height * 2.
because need increase cell height when default system message font is simsun.ttf in Chinese XP.
void CFCFGridDefaultCell::SetFont(const LOGFONT* plf), line 7420
//m_Size.cy = (m_Size.cy * 3) / 2; // old code
m_Size.cy = m_Size.cy * 2;
******************************
Tue Jul 08 17:23:31 2008
******************************
Files inserted to server
------------------------
V44B\DIMENS\FCFGRIDCTRL.CPP
<<END>>
<< Changes made by Yanhua Huang -- 07/08/08 17:41:47>>
Action: Yanhua Huang to David Petrizze, Status: OPEN to REVIEW
<<END>>
<< Yanhua Huang -- 07/07/08 22:25:18>>
could not reproduce it in chinese winXP and english winXP & V44B and V43R.
<<END>>
<< Changes made by David Petrizze -- 06/30/08 08:30:18>>
Action: Wenfeng Shao to Yanhua Huang, Assigned: Wenfeng Shao to Yanhua Huang
<<END>>
<< Don Turcotte -- 06/27/08 11:19:40>>
Dave Petrizze is the programmer who implemented the CFCFGridCtrl in PC-DMIS. He has the most understanding of how this works.
<<END>>
<< Wenfeng Shao -- 06/17/08 17:45:42>>
I tested other languages (such as Japanese, Korean)in Chinese XP system, all of them ran into the same problem...Did we test it in any other languages in Non-English XP system?
<<END>>
<< Changes made by Tim Wernicke -- 06/11/08 08:50:44>>
Category: display to Language-Chinese, Action: Tim Wernicke to Wenfeng Shao, Assigned: Tim Wernicke to Wenfeng Shao, Priority: to Critical
<<END>> |
|