System.EntryPointNotFoundException HResult=0x80131523 Message=无法在 DLL“libharfbuzz-0.dll”中找到名为“hb_ft_font_create”的入口点
Hi, Today, I download the harfbuzz(version 10.2.0) and update my old version. but have the error "System.EntryPointNotFoundException HResult=0x80131523 Message=无法在 DLL“libharfbuzz-0.dll”中找到名为“hb_ft_font_create”的入口点。(The entry point named "hb_ft_font_create" cannot be found in the DLL "libharfbuzz-0.dll".) "
Code in HB.internal.cs:
private const string HarfBuzzDll = "libharfbuzz-0.dll"; private const CallingConvention CallConvention = CallingConvention.Cdecl; [DllImport(HarfBuzzDll, CallingConvention = CallConvention)] internal static extern IntPtr hb_ft_font_create(IntPtr ft_face, IntPtr destroy);
Code in Face.cs: public static Font FromFTFace(Face face) { return new Font { reference = HB.hb_ft_font_create(face.Reference, IntPtr.Zero) }; }
I update in the https://github.com/Robmaister/SharpFont.HarfBuzz version appeared more than once.
I update the content in SharpHarfBuzz\Dependencies
please tell me why?