mail-archives/gtk-sharp-list/2004-February/003417.html

88 строки
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Pango.FontMap and Pango.FT2FontMap ?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:tiago.lima%40vianw.pt">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="003416.html">
<LINK REL="Next" HREF="003418.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Pango.FontMap and Pango.FT2FontMap ?
</H1>
<B>Tiago Lima
</B>
<A HREF="mailto:tiago.lima%40vianw.pt"
TITLE="[Gtk-sharp-list] Pango.FontMap and Pango.FT2FontMap ?">tiago.lima@vianw.pt
</A><BR>
<I>Wed, 18 Feb 2004 19:53:26 +0000</I>
<P><UL>
<LI> Previous message: <A HREF="003416.html">[Gtk-sharp-list] monodoc doesn't start
</A></li>
<LI> Next message: <A HREF="003418.html">[Gtk-sharp-list] NullReferenceException on DrawingLayout
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3417">[ date ]</a>
<a href="thread.html#3417">[ thread ]</a>
<a href="subject.html#3417">[ subject ]</a>
<a href="author.html#3417">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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. ---&gt;
System.EntryPointNotFoundException: pango_ft2_font_map_new
in &lt;0x0005c&gt; (wrapper managed-to-native)
Pango.FT2FontMap:pango_ft2_font_map_new ()
in &lt;0x0001c&gt; 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. ---&gt;
System.EntryPointNotFoundException: pango_ft2_font_map_for_display
in &lt;0x0005c&gt; (wrapper managed-to-native)
Pango.FT2FontMap:pango_ft2_font_map_for_display ()
in &lt;0x00021&gt; Pango.FT2FontMap:ForDisplay ()
What is wrong?
Thanks,
Tiago Lima
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="003416.html">[Gtk-sharp-list] monodoc doesn't start
</A></li>
<LI> Next message: <A HREF="003418.html">[Gtk-sharp-list] NullReferenceException on DrawingLayout
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3417">[ date ]</a>
<a href="thread.html#3417">[ thread ]</a>
<a href="subject.html#3417">[ subject ]</a>
<a href="author.html#3417">[ author ]</a>
</LI>
</UL>
</body></html>