Bug #53116 字体“Trebuchet MS”不支持样式“Regular”
Submitted: 23 Apr 2010 15:14 Modified: 28 Nov 2010 22:39
Reporter: justin huang Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2 OS:Windows (win7)
Assigned to: CPU Architecture:Any
Tags: Trebuchet MS

[23 Apr 2010 15:14] justin huang
Description:
Exception = System.ArgumentException
Message = 字体“Trebuchet MS”不支持样式“Regular”。
FullText = System.ArgumentException: 字体“Trebuchet MS”不支持样式“Regular”。
   在 System.Drawing.Font.CreateNativeFont()
   在 System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   在 System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   在 System.Drawing.Font..ctor(String familyName, Single emSize)
   在 MySQL.Utilities.CollapsingPanel..ctor()
   在 MySQL.Utilities.CollapsingPanel..ctor(String Caption, CollapsingPanelDisplayMode InitialDisplayMode, CollapsingPanelStyle InitialStyle, Boolean InitialExpandState, Int32 initialHeight)
   在 MySQL.GUI.Workbench.ModelOverviewForm.RebuildModelContents()
   在 MySQL.GUI.Workbench.MainForm.ShowPhysicalOverviewForm(NodeId nodeId)
   在 MySQL.GUI.Workbench.MainForm.RefreshGUI(RefreshType refresh, String str, IntPtr ptr)
   在 MySQL.Workbench.WbFrontendCallbacks.refresh_gui_wrapper(RefreshType refresh, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* str, Int64 ptr)
   在 sigc.pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>.()(pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void>* , RefreshType* _A_a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_a2, Int64* _A_a3)
   在 sigc.adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void> >.operator()<enum wb::RefreshType const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,__int64 const &>(adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void> >* , RefreshType* _A_arg1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_arg2, Int64* _A_arg3)
   在 sigc.internal.slot_call3<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>,void,enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,__int64>.call_it(slot_rep* rep, RefreshType* a_1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a_2, Int64* a_3)
   在 wb.WBContext.flush_idle_tasks(WBContext* )
   在 MySQL.Workbench.WbContext.flush_idle_tasks()
   在 MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)

How to repeat:
Exception = System.ArgumentException
Message = 字体“Trebuchet MS”不支持样式“Regular”。
FullText = System.ArgumentException: 字体“Trebuchet MS”不支持样式“Regular”。
   在 System.Drawing.Font.CreateNativeFont()
   在 System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   在 System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   在 System.Drawing.Font..ctor(String familyName, Single emSize)
   在 MySQL.Utilities.CollapsingPanel..ctor()
   在 MySQL.Utilities.CollapsingPanel..ctor(String Caption, CollapsingPanelDisplayMode InitialDisplayMode, CollapsingPanelStyle InitialStyle, Boolean InitialExpandState, Int32 initialHeight)
   在 MySQL.GUI.Workbench.ModelOverviewForm.RebuildModelContents()
   在 MySQL.GUI.Workbench.MainForm.ShowPhysicalOverviewForm(NodeId nodeId)
   在 MySQL.GUI.Workbench.MainForm.RefreshGUI(RefreshType refresh, String str, IntPtr ptr)
   在 MySQL.Workbench.WbFrontendCallbacks.refresh_gui_wrapper(RefreshType refresh, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* str, Int64 ptr)
   在 sigc.pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>.()(pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void>* , RefreshType* _A_a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_a2, Int64* _A_a3)
   在 sigc.adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void> >.operator()<enum wb::RefreshType const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,__int64 const &>(adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void> >* , RefreshType* _A_arg1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_arg2, Int64* _A_arg3)
   在 sigc.internal.slot_call3<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>,void,enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,__int64>.call_it(slot_rep* rep, RefreshType* a_1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a_2, Int64* a_3)
   在 wb.WBContext.flush_idle_tasks(WBContext* )
   在 MySQL.Workbench.WbContext.flush_idle_tasks()
   在 MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)

Suggested fix:
Exception = System.ArgumentException
Message = 字体“Trebuchet MS”不支持样式“Regular”。
FullText = System.ArgumentException: 字体“Trebuchet MS”不支持样式“Regular”。
   在 System.Drawing.Font.CreateNativeFont()
   在 System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   在 System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   在 System.Drawing.Font..ctor(String familyName, Single emSize)
   在 MySQL.Utilities.CollapsingPanel..ctor()
   在 MySQL.Utilities.CollapsingPanel..ctor(String Caption, CollapsingPanelDisplayMode InitialDisplayMode, CollapsingPanelStyle InitialStyle, Boolean InitialExpandState, Int32 initialHeight)
   在 MySQL.GUI.Workbench.ModelOverviewForm.RebuildModelContents()
   在 MySQL.GUI.Workbench.MainForm.ShowPhysicalOverviewForm(NodeId nodeId)
   在 MySQL.GUI.Workbench.MainForm.RefreshGUI(RefreshType refresh, String str, IntPtr ptr)
   在 MySQL.Workbench.WbFrontendCallbacks.refresh_gui_wrapper(RefreshType refresh, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* str, Int64 ptr)
   在 sigc.pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>.()(pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void>* , RefreshType* _A_a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_a2, Int64* _A_a3)
   在 sigc.adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void> >.operator()<enum wb::RefreshType const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,__int64 const &>(adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void> >* , RefreshType* _A_arg1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_arg2, Int64* _A_arg3)
   在 sigc.internal.slot_call3<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>,void,enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,__int64>.call_it(slot_rep* rep, RefreshType* a_1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a_2, Int64* a_3)
   在 wb.WBContext.flush_idle_tasks(WBContext* )
   在 MySQL.Workbench.WbContext.flush_idle_tasks()
   在 MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)
[23 Apr 2010 19:10] Johannes Taxacher
Hello Justin,

could you give us instructions on howto reproduce this problem?
thanks in advance
[23 May 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[12 Sep 2010 13:32] can huang
copy a Trebuchet MS(trebuc.ttf) font to font file
[28 Oct 2010 22:39] Alfredo Kojima
Does this still happen with version 5.2.29?
[29 Nov 2010 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".