Benedikt Stebner
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
2 deletions
-
src/Skia/Avalonia.Skia/TextShaperImpl.cs
-
src/Windows/Avalonia.Direct2D1/Media/TextShaperImpl.cs
|
|
|
@ -142,7 +142,7 @@ namespace Avalonia.Skia |
|
|
|
|
|
|
|
var offsetX = position.XOffset * textScale; |
|
|
|
|
|
|
|
var offsetY = position.YOffset * textScale; |
|
|
|
var offsetY = -position.YOffset * textScale; |
|
|
|
|
|
|
|
return new Vector(offsetX, offsetY); |
|
|
|
} |
|
|
|
|
|
|
|
@ -143,7 +143,7 @@ namespace Avalonia.Direct2D1.Media |
|
|
|
|
|
|
|
var offsetX = position.XOffset * textScale; |
|
|
|
|
|
|
|
var offsetY = position.YOffset * textScale; |
|
|
|
var offsetY = -position.YOffset * textScale; |
|
|
|
|
|
|
|
return new Vector(offsetX, offsetY); |
|
|
|
} |
|
|
|
|