1. A concise explanation of the problem you're experiencing.
I'm using a custom font to display labels,
as you can see in the picture in the same label the standard serif font is "mixed" with my custom font
![wrongFontLabels.JPG](https://groups.google.com/group/cesium-dev/attach/113bba5fbe8ee/wrongFontLabels.JPG?part=0.1&view=1)
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
<style>
@font-face {
font-family: Acumin-bold;
src: url("../fonts/Acumin-BdPro.otf") format("opentype");
}
</style>
viewer.entities.add({
position: Cesium.Cartesian3.fromDegrees(longitude, latitude),
label: {
text: result.city,
font: '24px Acumin-bold',
fillColor: Cesium.Color.WHITE,
outlineColor: Cesium.Color.BLACK,
outlineWidth: 3,
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.
To use a custom font for labels
4. The Cesium version you're using, your operating system and browser.
1.66