Skip to content

Commit

Permalink
release: 0.0.5 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Apr 11, 2024
2 parents 2e0d325 + 47cc4a2 commit 721ce68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/kotlin/org/gitanimals/render/domain/Svgs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,17 @@ val slimeGreenSvg: String = ClassPathResource("classpath:persona/animal/slime-gr
val largeTextSvgs = lazy {
val map = mutableMapOf<String, String>()
for (i in 'A'..'Z') {
val path = "persona/text/large/$i.svg"
val path = "classpath:persona/text/large/$i.svg"
map[i.toString()] = ClassPathResource(path)
.getContentAsString(Charset.defaultCharset())
}
for (i in 'a'..'z') {
val path = "persona/text/large/$i.svg"
val path = "classpath:persona/text/large/_$i.svg"
map[i.toString()] = ClassPathResource(path)
.getContentAsString(Charset.defaultCharset())
}
for (i in 0..9) {
val path = "persona/text/large/$i.svg"
val path = "classpath:persona/text/large/$i.svg"
map[i.toString()] = ClassPathResource(path)
.getContentAsString(Charset.defaultCharset())
}
Expand All @@ -169,7 +169,7 @@ val largeTextSvgs = lazy {
val mediumNumberSvgs = lazy {
val list = mutableListOf<String>()
for (i in 0..9) {
val path = "persona/text/medium/$i.svg"
val path = "classpath:persona/text/medium/$i.svg"
list.add(
ClassPathResource(path)
.getContentAsString(Charset.defaultCharset())
Expand All @@ -181,7 +181,7 @@ val mediumNumberSvgs = lazy {
val numberSvgs = lazy {
val list = mutableListOf<String>()
for (i in 0..9) {
val path = "persona/text/small/$i.svg"
val path = "classpath:persona/text/small/$i.svg"
list.add(
ClassPathResource(path)
.getContentAsString(Charset.defaultCharset())
Expand Down

0 comments on commit 721ce68

Please sign in to comment.