Closed xeruf closed 2 years ago
The website uses Raleway (https://software-challenge.de/), so we should create some unity and probably use it here, too, unless it looks bad or there is another suggestion.
Maybe https://stackoverflow.com/questions/29865343/loading-custom-font-using-javafx-8-and-css helps here
See https://github.com/software-challenge/gui/blob/main/src/main/kotlin/sc/gui/AppStyle.kt#L26= Currently the Font is loaded without styles, maybe we can avoid loading each style individually - somehow it works with the original font, too - maybe we need to use textual CSS here...
Also mind https://edvin.gitbooks.io/tornadofx-guide/content/part1/6_CSS.html
@niklasCarstensen while you are at it, could also look into adding the font into https://contest.software-challenge.de?
The website uses Raleway (https://software-challenge.de/), so we should create some unity and probably use it here, too, unless it looks bad or there is another suggestion.
Maybe https://stackoverflow.com/questions/29865343/loading-custom-font-using-javafx-8-and-css helps here
See https://github.com/software-challenge/gui/blob/main/src/main/kotlin/sc/gui/AppStyle.kt#L26= Currently the Font is loaded without styles, maybe we can avoid loading each style individually - somehow it works with the original font, too - maybe we need to use textual CSS here...
Also mind https://edvin.gitbooks.io/tornadofx-guide/content/part1/6_CSS.html
@niklasCarstensen while you are at it, could also look into adding the font into https://contest.software-challenge.de?