Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ object TabGlyphs {
const val MIDDLE_PX = 1
const val RIGHT_PX = 3
/** Matches `TabFont` bitmap height and the committed `tab/logo.png`. */
const val LOGO_HEIGHT = 32
const val LOGO_HEIGHT = 26
const val LOGO_TEXTURE_WIDTH = 256
const val LOGO_TEXTURE_HEIGHT = 52
/**
* The client rounds the scaled texture width, then adds the 1px gap every bitmap glyph carries
* (the same gap [TabBadge] cancels between slices). Truncating `256 * 32 / 52` is 157; the
* glyph actually advances 159.
* (the same gap [TabBadge] cancels between slices). At height 26, the 256x52 texture is 128px
* wide and the glyph advances 129px.
*/
const val LOGO_ADVANCE =
(LOGO_TEXTURE_WIDTH * LOGO_HEIGHT + LOGO_TEXTURE_HEIGHT / 2) / LOGO_TEXTURE_HEIGHT + 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Newlines pad the wordmark vertically; U+E018 is TabSpaces.of(16) on each side.
tab.header=\n\n\n\n<font:grounds:tab><white>\uE018\uE000\uE018</white></font>\n\n
tab.header=\n\n\n\n\n<font:grounds:tab><white>\uE018\uE000\uE018</white></font>\n\n
tab.footer=\n<text><server></text> <muted>Ping</muted> <ping>\n<faint>grounds.gg <year>
tab.server.lobby=Lobby
tab.server.game=Game
Expand Down