diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-11 06:24:45 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-11 06:24:45 +0200 |
| commit | 10fd075dd4aa49d90a75e7e41a15a28996b6b736 (patch) | |
| tree | b51c5cb216c6679a88b67a4e79b7d2d630b186ed /src/GraphicObjects/TextRun.cs | |
| parent | 2b4574f91b46193f9be68e65d1be1ab0038160c2 (diff) | |
global FontRenderingOptions for cairo
Diffstat (limited to 'src/GraphicObjects/TextRun.cs')
| -rw-r--r-- | src/GraphicObjects/TextRun.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs index 7f50a34e..103f2fcf 100644 --- a/src/GraphicObjects/TextRun.cs +++ b/src/GraphicObjects/TextRun.cs @@ -174,10 +174,9 @@ namespace Crow gr.SelectFontFace (Font.Name, Font.Slant, Font.Wheight); gr.SetFontSize (Font.Size); + gr.FontOptions = Interface.FontRenderingOptions; gr.Antialias = Antialias.Subpixel; - //gr.FontOptions.Antialias = Antialias.Subpixel; - //gr.FontOptions.HintMetrics = HintMetrics.On; rText = new Rectangle(new Size( measureRawSize(LayoutingType.Width), measureRawSize(LayoutingType.Height))); |