if(this.format != null)
this.format.Dispose();
+ if (this.HiddenChars != null)
+ this.HiddenChars = null;
+
float dpix, dpiy;
this.GetDpi(out dpix, out dpiy);
{
this.DestructRenderAndResource();
this.ConstructRenderAndResoruce(width, height);
+ this.ReinitTextFormat();
}
}
}
this.textRender = new CustomTextRenderer(this.render, this.Brushes, this.Strokes, this.Foreground);
}
+ public void ReinitTextFormat()
+ {
+ this.InitTextFormat(this.fontFamily.Source, (float)this.fontSize, this.GetDWFontWeigth(this.fontWeigth), this.GetDWFontStyle(this.fontStyle));
+ }
+
public virtual void DestructRenderAndResource()
{
this.Brushes.Clear();
<package >
<metadata>
<id>FooEditEngine.UWP</id>
- <version>1.2.10</version>
+ <version>1.2.11</version>
<title>FooTextBox</title>
<authors>Foo Project</authors>
<owners>Foo Project</owners>
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.1.2.10")]
-[assembly: AssemblyFileVersion("1.1.2.10")]
+[assembly: AssemblyVersion("1.1.2.11")]
+[assembly: AssemblyFileVersion("1.1.2.11")]
[assembly: ComVisible(false)]
\ No newline at end of file
<package >
<metadata>
<id>FooEditEngine.WPF</id>
- <version>1.203.7.0</version>
+ <version>1.203.8.0</version>
<title>FooTextBox</title>
<authors>Foo Project</authors>
<owners>Foo Project</owners>
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.203.7.0")]
-[assembly: AssemblyFileVersion("1.203.7.0")]
+[assembly: AssemblyVersion("1.203.8.0")]
+[assembly: AssemblyFileVersion("1.203.8.0")]
#if DEBUG
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("UnitTest")]
<package >
<metadata>
<id>FooEditEngine.Windows</id>
- <version>1.34.8.0</version>
+ <version>1.34.9.0</version>
<title>FooTextBox</title>
<authors>Foo Project</authors>
<owners>Foo Project</owners>
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.34.8.0")]
-[assembly: AssemblyFileVersion("1.34.8.0")]
+[assembly: AssemblyVersion("1.34.9.0")]
+[assembly: AssemblyFileVersion("1.34.9.0")]