# Labels display incorrectly on mobile after upgrading to Cesium 1.63.1

**URL:** <https://community.cesium.com/t/labels-display-incorrectly-on-mobile-after-upgrading-to-cesium-1-63-1/8879>\
**Category:** CesiumJS\
**Created:** [November 26, 2019, 9:57am UTC](https://community.cesium.com/t/labels-display-incorrectly-on-mobile-after-upgrading-to-cesium-1-63-1/8879 "2019-11-26T09:57:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniele\_Suppo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/daniele_suppo/32/2143_2.png) [@Daniele\_Suppo](https://community.cesium.com/u/Daniele_Suppo)\
**Post date:** [November 26, 2019, 9:57am UTC](https://community.cesium.com/t/labels-display-incorrectly-on-mobile-after-upgrading-to-cesium-1-63-1/8879/1 "2019-11-26T09:57:50Z")

</div>

**1. A concise explanation of the problem you’re experiencing.**

After upgrading from Cesium 1.62 to 1.63 / 1.63.1 labels on mobile device have too much space between letters and some characters are not inline

[![](http://www.issimissimo.com/wrongLabels.jpg)](http://www.issimissimo.com/wrongLabels.jpg)

**2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.**

viewer.entities.add({

position: Cesium.Cartesian3.fromDegrees(result.longitude, result.latitude),

label: {

text: result.city,

font: font,

fillColor: Cesium.Color.WHITE,

outlineColor: Cesium.Color.BLACK,

outlineWidth: 2,

style: Cesium.LabelStyle.FILL\_AND\_OUTLINE,

verticalOrigin: Cesium.VerticalOrigin.BOTTOM,

heightReference: Cesium.HeightReference.NONE,

pixelOffset: new Cesium.Cartesian2(0, -5),

translucencyByDistance: new Cesium.NearFarScalar(minDistance, 1.0,

maxDistance, 0.0),

disableDepthTestDistance: Number.POSITIVE\_INFINITY,

}

});

**3. Context. Why do you need to do this? We might know a better way to accomplish your goal.**

**4. The Cesium version you’re using, your operating system and browser.**

1.63.1

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [November 26, 2019, 10:14am UTC](https://community.cesium.com/t/labels-display-incorrectly-on-mobile-after-upgrading-to-cesium-1-63-1/8879/2 "2019-11-26T10:14:15Z")

</div>

This was an issue in 1.63 and was fixed in 1.63.1 (see [https://github.com/AnalyticalGraphicsInc/cesium/pull/8351#issuecomment-549453868](https://github.com/AnalyticalGraphicsInc/cesium/pull/8351#issuecomment-549453868)).

So you shouldn’t see if it you’re using 1.63.1. Are you able to reproduce this in Sandcastle?

---

<div class="post-metadata">

**Author:** ![Daniele\_Suppo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/daniele_suppo/32/2143_2.png) [@Daniele\_Suppo](https://community.cesium.com/u/Daniele_Suppo)\
**Post date:** [November 26, 2019, 10:38am UTC](https://community.cesium.com/t/labels-display-incorrectly-on-mobile-after-upgrading-to-cesium-1-63-1/8879/3 "2019-11-26T10:38:32Z")

</div>

It’s weird, on Sandcastle it display correctly…  
Please could you tell me if I’m using the right version on this line

?

Many thanks

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [November 26, 2019, 3:48pm UTC](https://community.cesium.com/t/labels-display-incorrectly-on-mobile-after-upgrading-to-cesium-1-63-1/8879/4 "2019-11-26T15:48:12Z")

</div>

This is the styling code from 1.63.1. You need to make sure you’re using the JavaScript code as well. That’s the script tag included in the tutorial here:

[https://cesium.com/docs/tutorials/getting-started/](https://cesium.com/docs/tutorials/getting-started/)
