photo

Flemin Goh

shared this problem
3 years ago

Employees Involved

photo

SCM

Admin

Statistics

3
Comments
1
Views

Share

582
votes

Font 'Segoe UI' does not support style 'Bold'

Please find error report below:

System.ArgumentException: Font 'Segoe UI' does not support style 'Bold'.

at System.Drawing.Font.CreateNativeFont()

at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)

at System.Drawing.Font..ctor(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit)

at DevExpress.Utils.Drawing.ResourceCache.GetFont(Font font, Single size, FontStyle style)

at DevExpress.Utils.Text.StringPainter.GetFont(Font font, StringFontSettings settings)

at DevExpress.Utils.Text.StringPainter.UpdateFont(Graphics graphics, List`1 strings, Font font)

at DevExpress.Utils.Text.StringPainter.Calculate(StringCalculateArgs e)

at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcCaptionSize(Graphics g, String caption)

at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcCaptionSize(Graphics g)

at DevExpress.XtraBars.ViewInfo.BarStaticLinkViewInfo.CalcCaptionSize(Graphics g)

at DevExpress.XtraBars.ViewInfo.BarStaticLinkViewInfo.CalcRealCaptionSize(Graphics g)

at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcLinkHorizontalCalptionGlyphWidth(Graphics g, Object sourceObject)

at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcLinkHorizontalSize(Graphics g, Object sourceObject)

at DevExpress.XtraBars.ViewInfo.BarStaticLinkViewInfo.CalcLinkHorizontalSize(Graphics g, Object sourceObject)

at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcLinkSize(Graphics g, Object sourceObject)

at DevExpress.XtraBars.BarItemLink.CalcLinkSize(Graphics g, Object sourceObject)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcLinkSize(BarItemLink link, Graphics g, Object sourceObject)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.PreCalcMultiLineSize(Graphics g, Object sourceObject, Int32 AMaxBarWidth, Int32& ARestWidth)

at DevExpress.XtraBars.ViewInfo.DockedBarControlViewInfo.PreCalcMultiLineSize(Graphics g, Object sourceObject, Int32 AMaxBarWidth, Int32& ARestWidth)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.PreCalcBarDrawInfo(Graphics g, Object sourceObject, Int32 width)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle rect)

at DevExpress.XtraBars.ViewInfo.DockedBarControlViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle rect)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcViewInfo(Graphics g, Object sourceObject, Rectangle rect)

at DevExpress.XtraBars.Controls.CustomControl.UpdateViewInfo()

at DevExpress.XtraBars.Controls.CustomControl.CheckDirty()

at DevExpress.XtraBars.Controls.CustomBarControl.CheckDirty()

at DevExpress.XtraBars.Controls.DockedBarControl.CheckDirty()

at DevExpress.XtraBars.Controls.CustomControl.CalcSize(Int32 width, Int32 maxHeight)

at DevExpress.XtraBars.Controls.CustomControl.CalcSize(Int32 width)

at DevExpress.XtraBars.Bar.DevExpress.XtraBars.Utils.IDockableObject.CalcSize(Int32 width)

at DevExpress.XtraBars.BarDockControl.CalcBarMaxOffsets(DockRow row, Int32 restWidth)

at DevExpress.XtraBars.BarDockControl.MakeLayout(DockRow row, Point& lastLocation, Int32 rowIndent)

at DevExpress.XtraBars.BarDockControl.DoLayout(Boolean updateSize)

at DevExpress.XtraBars.StandaloneBarDockControl.DoLayout()

at DevExpress.XtraBars.BarDockControl.UpdateDockSize()

at DevExpress.XtraBars.BarDockControl.CheckDirty()

at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Official Answer
photo Employee
SCM Posted 3 years ago

Your system is missing a font.

Try this :

http://www.microsoft.com/typography/fonts/font.aspx?FMID=1792

Add Comment

Comments (3)

photo
139

Hi, the page within your Link above was not be found. Can you send another Link please. Thnaks for answering.

photo
145

Hi again, i changed the font manually but it doesnt work. there was still segoe ui installed. i have no clue what the Software mean with Font 'Segoe UI' does not support style 'Bold'.

photo
120

Ok it works now i changed Font to Britannic Bold. Thanks for help.

Leave Comment

photo