Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
miloush committed Sep 21, 2024
1 parent b799e30 commit 71f53e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion DWBox/Controls/DirectWriteElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ protected override void OnRender(DrawingContext drawingContext)
private void InvalidateTextFormat()
{
_textFormat = null;
InvalidateMeasure();
InvalidateMeasure(); // needed for flow layouts
InvalidateVisual(); // needed for fixed layouts
}
private static void InvalidateTextFormat(DependencyObject d, DependencyPropertyChangedEventArgs e) => ((DirectWriteElement)d).InvalidateTextFormat();
private DWrite.IDWriteTextFormat GetOrCreateTextFormat()
Expand Down
2 changes: 1 addition & 1 deletion DWBox/DWBox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<ItemGroup>
<PackageReference Include="ILRepack.Lib.MSBuild" Version="2.1.18" />
<PackageReference Include="UAM.Interop.DirectWrite" Version="1.0.0-beta.3" />
<PackageReference Include="UAM.Interop.DirectWrite" Version="1.0.0-beta.4" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions DWBox/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@
// 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("2.3.0.0")]
[assembly: AssemblyFileVersion("2.3.0.0")]
[assembly: AssemblyVersion("2.4.0.0")]
[assembly: AssemblyFileVersion("2.4.0.0")]

// 2.4.0.0 fixed NBSP, added NNBSP, remeasure after set, remove missing glyphs, add family, copy box bitmap bounds, box highlighting, design units
// 2.3.0.0 layout options, text alignment, paragraph alignment, word wrapping, remember last added font, antialiasing mode, locale list, Alt+X, add one per family font, less uniform grid
// 2.2.0.0 copy image/box/name to clipboard, DirectWriteElement measuring, bitmap AV fix, empty GlyphRun analysis fix, remove all but this font, save settings on drop, \u U+ and acronyms decoding, core switch
// 2.1.0.0 refactor DWrite into namespace & struct with properties, text analysis, remove filter, set size, font face strings, add all progress, remember last input
Expand Down

0 comments on commit 71f53e6

Please sign in to comment.