[Gtk-sharp-list] Pango.FontMap and Pango.FT2FontMap ?

Tiago Lima tiago.lima@vianw.pt
Wed, 18 Feb 2004 19:53:26 +0000


Hi,

I've tried to code something to try out Pango and this gives me some 
exceptions. With this:

Pango.FontMap fontMap = new Pango.FT2FontMap();

is gives this:

	Unhandled Exception: System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> 
System.EntryPointNotFoundException: pango_ft2_font_map_new
in <0x0005c> (wrapper managed-to-native) 
Pango.FT2FontMap:pango_ft2_font_map_new ()
in <0x0001c> Pango.FT2FontMap:.ctor ()


And with this:

Pango.FontMap fontMap = Pango.FT2FontMap.ForDisplay();

Is gives this:

	Unhandled Exception: System.Reflection.TargetInvocationException: Exception 
has been thrown by the target of an invocation. ---> 
System.EntryPointNotFoundException: pango_ft2_font_map_for_display
in <0x0005c> (wrapper managed-to-native) 
Pango.FT2FontMap:pango_ft2_font_map_for_display ()
in <0x00021> Pango.FT2FontMap:ForDisplay ()

What is wrong?

Thanks,
	Tiago Lima