Correct meaning of 'start' and 'end' text align for LTR text

This commit is contained in:
Andreas Hocevar
2020-11-06 17:54:02 +01:00
parent 9c5e61ffb0
commit 7cc45c967b
4 changed files with 216 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ feature4.setStyle(
text: 'negative offsetX',
font: 'normal 400 10px/1 Ubuntu',
offsetX: -10,
textAlign: 'start',
textAlign: 'end',
textBaseline: 'top',
placement: 'line',
}),
@@ -133,7 +133,7 @@ feature5.setStyle(
font: '10px Ubuntu',
offsetY: 5,
scale: 0.7,
textAlign: 'end',
textAlign: 'start',
placement: 'line',
}),
})