Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cyrillic to TG fonts #776

Merged
merged 7 commits into from
Nov 25, 2024
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
2 changes: 1 addition & 1 deletion code/__DEFINES/text.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* For example: MAPTEXT_PIXELLARI("<span style='font-size: 24pt'>Some large maptext here</span>")
*/
/// Large size (ie: context tooltips) - Size options: 12pt 24pt.
#define MAPTEXT_PIXELLARI(text) {"<span style='font-family: \"Pixellari\"; font-size: 12pt; -dm-text-outline: 1px black'>[##text]</span>"}
#define MAPTEXT_PIXELLARI(text) {"<span style='font-family: \"Pix Cyrillic\"; font-size: 12pt; -dm-text-outline: 1px black'>[##text]</span>"} // BANDASTATION EDIT: Pixellari -> Pix Cyrillic

/// Standard size (ie: normal runechat) - Size options: 6pt 12pt 18pt.
#define MAPTEXT_GRAND9K(text) {"<span style='font-family: \"Grand9K Pixel\"; font-size: 6pt; -dm-text-outline: 1px black'>[##text]</span>"}
Expand Down
Binary file added interface/fonts/Grand9K_Pixel_Rus.ttf
Binary file not shown.
Binary file removed interface/fonts/Minecraft_Rus.ttf
Binary file not shown.
Binary file added interface/fonts/PixCyrillic.ttf
Binary file not shown.
Binary file added interface/fonts/SpessFontRus.ttf
Binary file not shown.
Binary file added interface/fonts/TinyUnicodeRus.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion interface/fonts/grand_9k.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// Base font
/datum/font/grand9k
name = "Grand9K Pixel"
font_family = 'interface/fonts/Minecraft_Rus.ttf' // Bandastation edit: 'interface/fonts/Grand9K_Pixel.ttf' -> 'interface/fonts/Minecraft_Rus.ttf'
font_family = 'interface/fonts/Grand9K_Pixel_Rus.ttf' // Bandastation edit: 'interface/fonts/Grand9K_Pixel.ttf' -> 'interface/fonts/Grand9K_Pixel_Rus.ttf'


/// For icon overlays
Expand Down
2 changes: 1 addition & 1 deletion interface/fonts/pixellari.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// Base font
/datum/font/pixellari
name = "Pixellari"
font_family = 'interface/fonts/Pixellari.ttf'
font_family = 'interface/fonts/PixCyrillic.ttf' // Bandastation edit: 'interface/fonts/Pixellari.ttf' -> 'interface/fonts/PixCyrillic.ttf'

/// For icon overlays
/// Pixellari 12pt metrics generated using Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus)
Expand Down
2 changes: 1 addition & 1 deletion interface/fonts/spess_font.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// Base font
/datum/font/spessfont
name = "Spess Font"
font_family = 'interface/fonts/SpessFont.ttf'
font_family = 'interface/fonts/SpessFontRus.ttf' // Bandastation edit: 'interface/fonts/SpessFont.ttf' -> 'interface/fonts/SpessFontRus.ttf'

/// For icon overlays
/// Spess Font 6pt metrics generated using Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus)
Expand Down
2 changes: 1 addition & 1 deletion interface/fonts/tiny_unicode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// Base font
/datum/font/tiny_unicode
name = "TinyUnicode"
font_family = 'interface/fonts/TinyUnicode.ttf'
font_family = 'interface/fonts/TinyUnicodeRus.ttf' // Bandastation edit: 'interface/fonts/TinyUnicode.ttf' -> 'interface/fonts/TinyUnicodeRus.ttf'

/// For icon overlays
/// TinyUnicode 12pt metrics generated using Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus)
Expand Down
4 changes: 2 additions & 2 deletions interface/skin.dmf
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ window "mapwindow"
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
font-family = "Minecraft Rus"
font-family = "Grand9K Pixel"
font-size = 6pt
is-default = true
right-click = true
saved-params = "zoom;letterbox;zoom-mode"
style = ".center { text-align: center; } .maptext { font-family: 'Minecraft Rus'; font-size: 6pt; -dm-text-outline: 1px black; color: white; line-height: 1.25; } .command_headset { font-weight: bold; } .context { font-family: 'Minecraft Rus'; font-size: 6pt; -dm-text-outline: 1px black; } .subcontext { font-family: 'Minecraft Rus'; font-size: 6pt; line-height: 1; } .small { font-family: 'Minecraft Rus'; font-size: 6pt; line-height: 1.4; } .big { font-family: 'Minecraft Rus'; font-size: 12pt; } .reallybig { font-size: 12pt; } .extremelybig { font-size: 12pt; } .greentext { color: #00FF00; font-size: 6pt; } .redtext { color: #FF0000; font-size: 6pt; } .clown { color: #FF69BF; font-weight: bold; } .his_grace { color: #15D512; } .hypnophrase { color: #0d0d0d; font-weight: bold; } .yell { font-weight: bold; } .italics { font-family: 'Minecraft Rus'; font-size: 6pt; line-height: 1.4; }"
style = ".center { text-align: center; } .maptext { font-family: 'Grand9K Pixel'; font-size: 6pt; -dm-text-outline: 1px black; color: white; line-height: 1.0; } .command_headset { font-weight: bold; } .context { font-family: 'Pix Cyrillic'; font-size: 12pt; -dm-text-outline: 1px black; } .subcontext { font-family: 'TinyUnicode'; font-size: 12pt; line-height: 0.75; } .small { font-family: 'Spess Font'; font-size: 6pt; line-height: 1.4; } .big { font-family: 'Pix Cyrillic'; font-size: 12pt; } .reallybig { font-size: 12pt; } .extremelybig { font-size: 12pt; } .greentext { color: #00FF00; font-size: 6pt; } .redtext { color: #FF0000; font-size: 6pt; } .clown { color: #FF69BF; font-weight: bold; } .his_grace { color: #15D512; } .hypnophrase { color: #0d0d0d; font-weight: bold; } .yell { font-weight: bold; } .italics { font-family: 'Spess Font'; font-size: 6pt; line-height: 1.4; }"
elem "status_bar"
type = LABEL
pos = 0,464
Expand Down
Loading