Bolder moves and marks; «Блестящий», «Замечательный» in the report
Ubuntu Medium and Bold (Ubuntu Font Family 0.83, official release, UFL 1.0) for the notation's moves and the board's marks on the desktop; heavier weights on Android. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2e145dc362
commit
1f27c2ae57
12 changed files with 163 additions and 12 deletions
|
|
@ -409,7 +409,7 @@ fun Board(
|
|||
drawCircle(Color.White, r, center, style = Stroke(width = sq * 0.025f))
|
||||
val label = measurer.measure(
|
||||
b.text,
|
||||
TextStyle(color = Color.White, fontWeight = FontWeight.Bold, fontSize = with(density) { (r * 1.05f).toSp() }),
|
||||
TextStyle(color = Color.White, fontWeight = FontWeight.Black, fontSize = with(density) { (r * 1.05f).toSp() }),
|
||||
)
|
||||
drawText(label, topLeft = center - Offset(label.size.width / 2f, label.size.height / 2f))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -412,15 +412,15 @@ private fun MoveCell(
|
|||
horizontalArrangement = Arrangement.spacedBy(1.dp),
|
||||
) {
|
||||
val markColor = mark?.takeIf { !selected }?.let { judgementColor(it, chess.dark) }
|
||||
Text(san(n.san), fontSize = 17.sp, fontWeight = FontWeight.Medium, color = markColor ?: MaterialTheme.colorScheme.onSurface)
|
||||
Text(san(n.san), fontSize = 17.sp, fontWeight = FontWeight.SemiBold, color = markColor ?: MaterialTheme.colorScheme.onSurface)
|
||||
if (mark != null) {
|
||||
Text(judgementSymbol(mark), fontSize = 17.sp, fontWeight = FontWeight.Medium, color = markColor ?: MaterialTheme.colorScheme.onSurface)
|
||||
Text(judgementSymbol(mark), fontSize = 17.sp, fontWeight = FontWeight.Bold, color = markColor ?: MaterialTheme.colorScheme.onSurface)
|
||||
}
|
||||
if (n.nagSymbols.isNotEmpty()) {
|
||||
Text(
|
||||
n.nagSymbols,
|
||||
fontSize = 17.sp,
|
||||
fontWeight = FontWeight.Medium,
|
||||
fontWeight = FontWeight.Bold,
|
||||
color = if (selected) {
|
||||
MaterialTheme.colorScheme.onSurface
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -257,8 +257,8 @@
|
|||
<string name="review_blunders">Зевки</string>
|
||||
<string name="review_great">Замечательный ход</string>
|
||||
<string name="review_brilliant">Блестящий ход</string>
|
||||
<string name="review_greats">Замечательные ходы</string>
|
||||
<string name="review_brilliants">Блестящие ходы</string>
|
||||
<string name="review_greats">Замечательный</string>
|
||||
<string name="review_brilliants">Блестящий</string>
|
||||
<string name="review_missing">Без оценки: %d</string>
|
||||
<string name="review_failed">Анализ прервался</string>
|
||||
<string name="review_resume">Продолжить</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue