openlayers: Upgrading to 4.4 breaking RTL support

Recently I’ve upgraded to new version 4.4.2 and now I’ve faced two major problem:

First: ol.style.Text now not support RTL text and render it in LTR style! In the previous 4.3.3 version I didn’t have any problem with it. (see parentheses in the below image)

image

And this is correct one with 4.3.3 version: image

Second: When using placement: ‘line’ in ol.style.Text , it doesn’t support RTL as well and text`s letters render splitted!

image

And this is correct one with 4.3.3 version: image

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

@gimerstedt Are you sure you’re facing the same issue? Make sure to use all lowercase values for textAlign and textBaseline.

Thanks for the report @ahmadazimi. This should be something that can be addressed in an upcoming release. In the meantime, it sounds like you should stick with 4.3.3.