[Bug 30482] New: Lexware Buchhalter 2012 fails on startup due to GdipCreateFontFromLogfont not properly handling negative font heights

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 19 13:07:04 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30482

             Bug #: 30482
           Summary: Lexware Buchhalter 2012 fails on startup due to
                    GdipCreateFontFromLogfont not properly handling
                    negative font heights
           Product: Wine
           Version: 1.5.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdiplus
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

this is a split-off bug from bug 30438 to track a gdiplus issue mentioned
between the lines separately (http://bugs.winehq.org/show_bug.cgi?id=30438#c5)
and give Dmitry proper credit ;-)

--- snip ---
System.ArgumentException: Value of '-11' is not valid for 'emSize'. 'emSize'
should be greater than 0 and less than or equal to System.Single.MaxValue.
Parameter name: emSize
   at System.Drawing.Font.Initialize(FontFamily family, Single emSize,
FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   at System.Drawing.Font..ctor(IntPtr nativeFont, Byte gdiCharSet, Boolean
gdiVerticalFont)
   at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
   at System.Drawing.Font.FromHfont(IntPtr hfont)
   at Lexware.Common.UI.Navigation.NavigationPanel.UseUISettings()
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list