Skip to content

Commit

Permalink
Merge pull request Huz2e#184 from Quinalion/dev
Browse files Browse the repository at this point in the history
Tweak: Normal font
  • Loading branch information
Huz2e authored Nov 26, 2024
2 parents 9e5b4a8 + a153da2 commit 94e0276
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 0 deletions.
Binary file added interface/fonts/Grand9K_Pixel_modif.ttf
Binary file not shown.
Binary file added interface/fonts/Pixellari_modif.ttf
Binary file not shown.
5 changes: 5 additions & 0 deletions interface/fonts/grand_9k.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
/// Base font
/datum/font/grand9k
name = "Grand9K Pixel"
//MASSMETA EDIT CHANGE BEGIN (tweak_say_font)
/* ORIGINAL
font_family = 'interface/fonts/Grand9K_Pixel.ttf'
*/
font_family = 'interface/fonts/Grand9K_Pixel_modif.ttf'
//MASSMETA EDIT CHANGE END

/// For icon overlays
/// Grand9K 6pt metrics generated using Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus)
Expand Down
5 changes: 5 additions & 0 deletions interface/fonts/pixellari.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
/// Base font
/datum/font/pixellari
name = "Pixellari"
//MASSMETA EDIT CHANGE BEGIN (tweak_say_font)
/* ORIGINAL
font_family = 'interface/fonts/Pixellari.ttf'
*/
font_family = 'interface/fonts/Pixellari_modif.ttf'
//MASSMETA EDIT CHANGE END

/// For icon overlays
/// Pixellari 12pt metrics generated using Lummox's dmifontsplus (https://www.byond.com/developer/LummoxJR/DmiFontsPlus)
Expand Down
11 changes: 11 additions & 0 deletions interface/skin.dmf
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,23 @@ window "mapwindow"
size = 640x480
anchor1 = 0,0
anchor2 = 100,100
//MASSMETA EDIT CHANGE BEGIN (tweak_say_font)
/* ORIGINAL
font-family = "Arial"
font-size = 7pt
*/
font-family = "Grand9K Pixel"
font-size = 6pt
//MASSMETA EDIT CHANGE END
is-default = true
right-click = true
saved-params = "zoom;letterbox;zoom-mode"
/MASSMETA EDIT CHANGE BEGIN (tweak_say_font)
/* ORIGINAL
style = ".center { text-align: center; } .maptext { font-family: 'Small Fonts'; font-size: 7pt; -dm-text-outline: 1px black; color: white; line-height: 1.0; } .command_headset { font-weight: bold; } .context { font-family: 'Pixellari'; font-size: 12pt; -dm-text-outline: 1px black; } .subcontext { font-family: 'Small Fonts'; font-size: 12pt; line-height: 0.75; } .small { font-family: 'Small Fonts'; font-size: 6pt; line-height: 1.4; } .big { font-family: 'Small Fonts'; 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: 'Small Fonts'; font-size: 6pt; line-height: 1.4; }" //MASSMETA EDIT CHANGE (cyrillic)
*/
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: 'Pixellari'; font-size: 12pt; -dm-text-outline: 1px black; } .subcontext { font-family: 'TinyUnicode'; font-size: 12pt; line-height: 0.75; } .small { font-size: 6pt; } .big { font-family: 'Pixellari'; 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-family: 'MS Serif'; font-size: 8px; font-weight: bold; } .italics { font-family: 'MS Serif'; font-size: 6px; }"
//MASSMETA EDIT CHANGE END
elem "status_bar"
type = LABEL
pos = 0,464
Expand Down
4 changes: 4 additions & 0 deletions modular_meta/reverts/tweak_say_fonts/includes.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/modpack/tweak_say_fonts
name = "Исправленный шрифт"
desc = "Исправляет шрифт, делает его пикселизированным и более красивым."
author = "Zavogori. Портирование: Quinal"
16 changes: 16 additions & 0 deletions modular_meta/reverts/tweak_say_fonts/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Module ID: TWEAK_SAY_FONTS


### Defines:

- N/A

### TG Proc/File Changes:

- interface\fonts\grand_9k.dm
- interface\fonts\pixellari.dm
- interface\skin.dmf

### TGUI Files:

- N/A

0 comments on commit 94e0276

Please sign in to comment.