Browse Source
Merge branch 'master' into fixes/ClearType
pull/7336/head
Benedikt Stebner
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Skia/Avalonia.Skia/FormattedTextImpl.cs
|
|
|
@ -291,7 +291,7 @@ namespace Avalonia.Skia |
|
|
|
{ |
|
|
|
AvaloniaFormattedTextLine line = _skiaLines[c]; |
|
|
|
|
|
|
|
float x = TransformX(origin.X, 0, paint.TextAlign); |
|
|
|
float x = TransformX(origin.X, line.Width, paint.TextAlign); |
|
|
|
|
|
|
|
if (!hasCusomFGBrushes) |
|
|
|
{ |
|
|
|
|