Replies: 1 comment 4 replies
-
This also affects getPixelOffset, so my texts are also unaligned compared to 8.4 which is very ugly. Is it a bug ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, upgrading to deckgl 8.5, I noticed that my texts have gotten a lot bigger. Reproducing using the code from https://deck.gl/gallery/text-layer . Here's the result with deckgl 8.4 and 8.5:
deckgl8.5: https://codepen.io/jonenst/pen/XWgpegm
deckgl8.4.: https://codepen.io/jonenst/pen/qBjRPXR
Is this change intentional ? I didn't find it in the migration guide.
What is the recommended way to get the same results as before ? Thanks
To get an almost equivalent result to 8.4, I found that dividing the size by 1.5 did the trick (using rational size, e.g. 16 -> 10.6666..).
deckgl8.5 with 1.5 division: https://codepen.io/jonenst/pen/MWoJEBw
screenshot
![Capture d’écran de 2021-09-08 11-39-08](https://user-images.githubusercontent.com/89208/132485945-5bb786d1-70ff-4046-9627-8d92646ee77b.png)
Beta Was this translation helpful? Give feedback.
All reactions