Giter VIP home page Giter VIP logo

Comments (1)

ArsenShnurkov avatar ArsenShnurkov commented on May 31, 2024

Bug still here

System.TypeInitializationException: An exception was thrown by the type initializer for PixelFarm.Drawing.DrawingGL.MyCanvasGL ---> System.EntryPointNotFoundException: SelectObject
  at (wrapper managed-to-native) Win32.MyWin32:SelectObject (intptr,intptr)
  at PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper.MeasureCharWidths (IntPtr hFont, System.Int32[]& charWidths, FontABC[]& abcSizes) [0x00025] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:42 
  at PixelFarm.Drawing.WinGdi.MyFontInfo..ctor (PixelFarm.Drawing.Font f, Int32 lineHeight, Single ascentPx, Single descentPx, Single baseline, PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper gdiFontHelper) [0x00065] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:112 
  at PixelFarm.Drawing.WinGdi.FontStore.RegisterFont (System.Drawing.Font newFont, FontKey fontKey) [0x0009c] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/FontStore.cs:164 
  at PixelFarm.Drawing.WinGdi.FontStore.GetCachedFont (System.Drawing.Font f) [0x0002e] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/FontStore.cs:97 
  at PixelFarm.Drawing.DrawingGL.CanvasGLPlatform.PlatformGetFont (System.String fontFaceName, Single emsize, FontLoadTechnique fontLoadTechnique) [0x0000f] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.DrawingGL/0_Start/CanvasGLPlatform.cs:46 
  at PixelFarm.Drawing.DrawingGL.MyCanvasGL..cctor () [0x0004f] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.DrawingGL/MyCanvas_GL/1_MyCanvasGL_Specific.cs:276 
  --- End of inner exception stack trace ---
  at PixelFarm.Drawing.DrawingGL.CanvasGLPlatform.CreateCanvas (Int32 left, Int32 top, Int32 width, Int32 height) [0x00009] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.DrawingGL/0_Start/CanvasGLPlatform.cs:69 
  at LayoutFarm.Demo.HtmlPanel..ctor (PixelFarm.Drawing.GraphicsPlatform p, Int32 w, Int32 h) [0x00076] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/HtmlRenderer.Demo/HtmlRenderer.WinFormControls/HtmlPanel.cs:109 
  at (wrapper remoting-invoke-with-check) LayoutFarm.Demo.HtmlPanel:.ctor (PixelFarm.Drawing.GraphicsPlatform,int,int)
  at LayoutFarm.Demo.DemoForm..ctor (PixelFarm.Drawing.GraphicsPlatform p) [0x00057] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/HtmlRenderer.Demo/DemoForm.cs:79 
  at (wrapper remoting-invoke-with-check) LayoutFarm.Demo.DemoForm:.ctor (PixelFarm.Drawing.GraphicsPlatform)
  at LayoutFarm.Demo.DevForm.button1_Click (System.Object sender, System.EventArgs e) [0x00007] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/HtmlRenderer.Demo/DevForm.cs:80 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0001c] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5710 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00024] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:102 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00081] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:572 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:122 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x0007e] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5279 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0016f] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5020 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x0004e] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:632 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:142 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in /var/calculate/tmp/porta
Unhandled Exception:
System.EntryPointNotFoundException: DeleteDC
  at (wrapper managed-to-native) Win32.MyWin32:DeleteDC (intptr)
  at PixelFarm.Drawing.WinGdi.BasicGdi32FontHelper.Finalize () [0x00007] in https://github.com/prepare/HTML-Renderer/blob/465c45dda29f2dde64fba64f21b387a352bebb75/Source/Deps/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/Implementation/MyFontInfo.cs:20 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:209 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x0008e] in /var/calculate/tmp/portage/dev-lang/mono-4.0.1.34/work/mono-4.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:240 
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319

from htmlrenderer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.