mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 13:35:10 +00:00
## About The Pull Request We needed to replace our maptext font. Closes https://github.com/tgstation/tgstation/issues/73002 Replaced with a pair of new fonts, made some improvements and fixes while we're at it. - Two new maptext fonts: Grand9K and TinyUnicode - These two scale cleanly with BYOND icon sizes, so no antialiasing of already tiny fonts making it look bad when enlarged on screen - Fixed size fonts now have metrics to be used properly on overlays (such as status display) where a client (a requirement for MeasureText) is not feasible - VCR OSD Mono still here, usable as a variable size font with larger text - Synchronizes status display scrolling speed between lines - Fixed special maptexts for yelling, clown, redtext, greentext https://github.com/tgstation/tgstation/assets/83487515/7dbaf1d1-f1d5-46ff-8903-d95cab059ed8 ## Why It's Good For The Game Maptext looks like crap if you're one of the players who no longer have the old font. Even if you do have Small Fonts, this looks better. ## Changelog 🆑 LT3 refactor: Refactored maptext (those floating words) fix: Fixed special chat bubbles for yelling, clown, redtext, greentext fix: Fixed alignment of status display text code: Status displays now synchronize their message lines when scrolling /🆑
25 lines
782 B
Plaintext
25 lines
782 B
Plaintext
//FONTS: Used by Paper, PhotoCopier, PDA's Notekeeper, NewsCaster, NewsPaper, ModularComputers (and PaperBin once a year).
|
|
/// Font used by regular pens
|
|
#define PEN_FONT "Verdana"
|
|
/// Font used by fancy pens
|
|
#define FOUNTAIN_PEN_FONT "Segoe Script"
|
|
/// Font used by crayons
|
|
#define CRAYON_FONT "Comic Sans MS"
|
|
/// Font used by printers
|
|
#define PRINTER_FONT "Times New Roman"
|
|
/// Font used by charcoal pens
|
|
#define CHARCOAL_FONT "Candara"
|
|
/// Font used when signing on paper.
|
|
#define SIGNATURE_FONT "Segoe Script"
|
|
|
|
/// Emoji icon set
|
|
#define EMOJI_SET 'icons/ui_icons/emoji/emoji.dmi'
|
|
|
|
// Font metrics bitfield
|
|
/// Include leading A width and trailing C width in GetWidth() or in DrawText()
|
|
#define INCLUDE_AC (1<<0)
|
|
|
|
DEFINE_BITFIELD(font_flags, list(
|
|
"INCLUDE_AC" = INCLUDE_AC,
|
|
))
|