mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 22:13:23 -07:00
SixLabors.ImageSharp.Drawing@1.0.0
This commit is contained in:
parent
b5e5462585
commit
817a1d80c1
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ namespace Greenshot.Editor.Drawing.Emoji
|
|||
var fontFamily = TwemojiFontFamily.Value;
|
||||
var font = fontFamily.CreateFont(iconSize * 0.95f, FontStyle.Regular);
|
||||
var verticalOffset = font.Size * 0.045f;
|
||||
var textOptions = new TextOptions(font)
|
||||
var textOptions = new RichTextOptions(font)
|
||||
{
|
||||
Origin = new PointF(iconSize / 2.0f, iconSize / 2.0f + verticalOffset),
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta15" />
|
||||
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue