OSDN Git Service

フォントサイズが正しくないバグを修正した
authorkonekoneko <test2214@hotmail.co.jp>
Fri, 5 Jun 2015 15:18:19 +0000 (00:18 +0900)
committerkonekoneko <test2214@hotmail.co.jp>
Fri, 5 Jun 2015 15:18:19 +0000 (00:18 +0900)
Common/Direct2D/D2DRenderCommon.cs

index 4378990..dc1c1ce 100644 (file)
@@ -221,7 +221,7 @@ namespace FooEditEngine
             float dpix, dpiy;
             this.GetDpi(out dpix, out dpiy);
 
-            this.format = new DW.TextFormat(this.DWFactory, fontName, fontWeigth, fontStyle, fontSize * dpix / 72.0f);
+            this.format = new DW.TextFormat(this.DWFactory, fontName, fontWeigth, fontStyle, fontSize);
             this.format.WordWrapping = DW.WordWrapping.NoWrap;
 
             if (this.HiddenChars == null)