Is there a way to use a custom font in a label? Tried adding it to css files in the cesium library but it never works and reverts to a stock serif font. How can I make this work?
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use web fonts in labels as you normally would in CSS. There is no need to modify the CSS files in Cesium. Instead, just add the font-face declarations to your own CSS in your application, so that the font is loaded, and then you can use the web font in the value you specify for "font", using normal CSS syntax.
On Mon, Aug 29, 2016 at 9:14 AM, André Borud <andre...@gmail.com> wrote:
Is there a way to use a custom font in a label? Tried adding it to css files in the cesium library but it never works and reverts to a stock serif font. How can I make this work?
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.