From 1d5326e993c53875f05278c9e0c4ae73516a02bc Mon Sep 17 00:00:00 2001 From: RTAkland Date: Tue, 17 Sep 2024 12:29:52 +0800 Subject: [PATCH] fix: set default font --- .../cn/rtast/fancybot/commands/lookup/DomainPriceCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/cn/rtast/fancybot/commands/lookup/DomainPriceCommand.kt b/src/main/kotlin/cn/rtast/fancybot/commands/lookup/DomainPriceCommand.kt index a12a0e6..e827314 100644 --- a/src/main/kotlin/cn/rtast/fancybot/commands/lookup/DomainPriceCommand.kt +++ b/src/main/kotlin/cn/rtast/fancybot/commands/lookup/DomainPriceCommand.kt @@ -30,7 +30,7 @@ class DomainPriceCommand : BaseCommand() { private val secondLayerColor = Color(240, 255, 240) private val textColor = Color.BLACK private val domainApi = "https://dnspod.cloud.tencent.com" - private val font = Font("Serif", Font.PLAIN, 15) + private val font = Font("Serif", Font.PLAIN, 13) private fun createCommonCanvas(): BufferedImage { val canvas = BufferedImage(canvasWidth, canvasHeight, BufferedImage.TYPE_INT_RGB)