[Mono-list] Cairo showtext and umlauts

red mailicide-mono at yahoo.de
Fri Jun 10 11:30:25 EDT 2011


Hi,

i'm using mono 2.4.2.1. When i try to draw text with cairo which contains
umlauts,
the whole text does not appear. this concern the textpath, showtext methods.
Even TextExtends does not work. My project files are utf-8 encoded.

Example:

DrawingArea area = (DrawingArea) o;
Cairo.Context c = Gdk.CairoHelper.Create (area.GdkWindow);

c.Color = new Color (1,1,1);
c.SelectFontFace("Arial", FontSlant.Normal, FontWeight.Bold);
c.SetFontSize(10);
c.ShowText("Mobilität");

Thanks in advance

Herbert

--
View this message in context: http://mono.1490590.n4.nabble.com/Cairo-showtext-and-umlauts-tp3588708p3588708.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list