Not all theme fonts seem to load properly
It seems that fonts for the Stockholm and Default theme don't seem to load properly, with version 0.0.4 and 1.0.0., using module import.
Stockholm: Default: Kind regards,
Maurice
<link rel="stylesheet" type="text/css" href="../../bryntumgantt/gantt-1.0.0-trial/build/gantt.stockholm.css" id="bryntum-theme">
Hi,
I do have the same problem. Is there something else you have to include beside the css to load the fonts correctly?
Thanks, Peter
Hi peterlechner,
Did you check our examples? What environment (framework) do you use?
We have guides for many frameworks but I don't know which one should I share with you. You can find the links here https://bryntum.com/docs/gantt/
@import "@bryntum/gantt/gantt.stockholm.css";
should be all you need.
Could you please share your app if it didn't help.
Hi Alex,
I am using non of the common frameworks.
How can I do it with just plain JS.
<link rel="stylesheet" href="~/lib/bryntum/gantt.classic.css" type="text/css" id="bryntum-theme" />
<script type="text/javascript" src="~/lib/bryntum/gantt.umd.js"></script>
Fonts are located in lib/bryntum/fonts folder.
Thanks,
Peter
Hi,
sorry...I didn't see all the samples you have. I will check that first and come back to you if I need help.
thanks, Peter