diff --git a/Svg.Editor.Avalonia.Forms/Services/TextInputService.cs b/Svg.Editor.Avalonia.Forms/Services/TextInputService.cs
index 9d2ef787a..dc67dae0b 100644
--- a/Svg.Editor.Avalonia.Forms/Services/TextInputService.cs
+++ b/Svg.Editor.Avalonia.Forms/Services/TextInputService.cs
@@ -36,7 +36,7 @@ public TextInputService()
return new TextTool.TextProperties
{
FontSizeIndex = textSizeSelected,
- LineHeight = 12f,
+ LineHeight = 1.25f,
Text = textValue
};
}
@@ -50,7 +50,7 @@ public TextInputService()
return new TextTool.TextProperties
{
FontSizeIndex = sizeIndex,
- LineHeight = 12f,
+ LineHeight = 1.25f,
Text = text
};
}
diff --git a/Svg.Editor.Avalonia.Forms/Svg.Editor.Avalon.Forms.csproj b/Svg.Editor.Avalonia.Forms/Svg.Editor.Avalon.Forms.csproj
index 55d058441..e17e0c896 100644
--- a/Svg.Editor.Avalonia.Forms/Svg.Editor.Avalon.Forms.csproj
+++ b/Svg.Editor.Avalonia.Forms/Svg.Editor.Avalon.Forms.csproj
@@ -3,8 +3,10 @@
net10.0
enable
latest
- 3.2.0-optiq09
+ 3.2.0-optiq11
+ #3.2.0-optiq11
+ Fixed huge paragraph spacing in multi-line text (LineHeight 12f -> 1.25f)
#3.2.0-optiq09
SvgVisualElement always rebuild the cached pens/brushes when the token differs
fix pin color under select tool
diff --git a/Svg.Editor.Avalonia.Views/Svg.Editor.Avalon.Views.csproj b/Svg.Editor.Avalonia.Views/Svg.Editor.Avalon.Views.csproj
index 292ceaf72..0701aff35 100644
--- a/Svg.Editor.Avalonia.Views/Svg.Editor.Avalon.Views.csproj
+++ b/Svg.Editor.Avalonia.Views/Svg.Editor.Avalon.Views.csproj
@@ -3,8 +3,10 @@
net10.0
enable
latest
- 3.2.0-optiq09
+ 3.2.0-optiq11
+ #3.2.0-optiq11
+ Fixed huge paragraph spacing in multi-line text (LineHeight 12f -> 1.25f)
#3.2.0-optiq09
SvgVisualElement always rebuild the cached pens/brushes when the token differs
fix pin color under select tool
diff --git a/Svg.Editor.Core.Tests/TextInputServiceTests.cs b/Svg.Editor.Core.Tests/TextInputServiceTests.cs
index f1a71b10d..236ad4e51 100644
--- a/Svg.Editor.Core.Tests/TextInputServiceTests.cs
+++ b/Svg.Editor.Core.Tests/TextInputServiceTests.cs
@@ -53,7 +53,7 @@ public async Task GetUserInput_WithConfirmedResult_ReturnsEnteredTextAndSelected
result.ShouldNotBeNull();
result.Text.ShouldBe("Hello world");
result.FontSizeIndex.ShouldBe(2);
- result.LineHeight.ShouldBe(12f);
+ result.LineHeight.ShouldBe(1.25f);
}
[Test]
@@ -84,7 +84,7 @@ public async Task GetUserInput_WithCancelledResult_ReturnsOriginalTextAndSelecte
result.ShouldNotBeNull();
result.Text.ShouldBe(originalText);
result.FontSizeIndex.ShouldBe(originalIndex);
- result.LineHeight.ShouldBe(12f);
+ result.LineHeight.ShouldBe(1.25f);
}
[Test]
diff --git a/Svg.Editor.Core/Svg.Editor.Core.csproj b/Svg.Editor.Core/Svg.Editor.Core.csproj
index aa169c999..09ff7d256 100644
--- a/Svg.Editor.Core/Svg.Editor.Core.csproj
+++ b/Svg.Editor.Core/Svg.Editor.Core.csproj
@@ -4,9 +4,11 @@
Svg.Editor
en-US
net10.0
- 3.2.0-optiq09
+ 3.2.0-optiq11
latest
+ #3.2.0-optiq11
+ Fixed huge paragraph spacing in multi-line text (LineHeight 12f -> 1.25f)
#3.2.0-optiq09
SvgVisualElement always rebuild the cached pens/brushes when the token differs
fix pin color under select tool
diff --git a/Svg/Svg.csproj b/Svg/Svg.csproj
index f838c6de0..4fad3772c 100644
--- a/Svg/Svg.csproj
+++ b/Svg/Svg.csproj
@@ -3,10 +3,12 @@
netstandard2.0;net48;net10.0
PackageReference
- 3.2.0-optiq10
+ 3.2.0-optiq11
gentledpp,zepr
Opti-Q GmbH
+ #3.2.0-optiq11
+ Fixed huge paragraph spacing in multi-line text (LineHeight 12f -> 1.25f)
#3.2.0-optiq10
use a fallback font when the embedded font does not provide a glyph for a character
#3.2.0-optiq09