#Custom Fonts Mod [Deprecated]
186 messages · Page 1 of 1 (latest)
I wonder how helvetica will look
You can also change the font size in the code if you want to tweak it @random mango
nah its good i fixed my issue
i deleted it like almost instantly and you already saw it lmao
I set it to slightly smaller than normal by default because most fonts are wider than m6x11
Is that Arial lol
thats helvetica
oh god
That’s going to look so cursed
Even better
Free Martian Hull Markings Gloopy font download. MARTIANG.TTF Windows and Mac OS X compatible. TrueType and OpenType fonts available. Search for other Dingbats and Various fonts.
Wait I have a funny idea
||wingdings??||
Or the infamous
i dont know if that's better or worse than what I said
could you use this to make a custom joker with some ridiculous effect like x5 mult, changes font to braille
is that possible yet?
It should be once there’s an API for adding Jokers
Enchanting table
The numbers are too readable :(
what's the 0:05._.949?
ah ok
This one looks good imo
Still has some font scaling issues but it works
What font is this?
Someone recreated the font used in tarot/planet/spectral cards
Ah
i feel like we gonna need some mod that gives good anti aliasing to make fonts look nice
ik im just messing and used comic sans cause i wanted to see how it looked XD
Y’know what. That for Balatro Reshuffled is gonna be great
The computer chip as the stake chip too lol
Math is it possible to add an aa feature or something to balatro? Like I can see it while I play and I wonder
In the images you don't really see it but on a bigger monitor you could see it
Depends on if Love2D supports that
And then you have to modify the font rendering code in Balatro
regi mode
Is the mod only change the font of English?
How to change the fonts of other language?
The fallback font is handled differently, I can see if I can try and change it
it's actually insanely funny
" " -Jimbo
i still can't get past ante 3
either its mods themselves or there's some kind of memory leak happening in this mod i think
cause i kept having less and less fps, but going back to main menu and loading back the run fixed it
i think thats a steamodded 0.9.2 issue
0.9.3 fix it
I made a custom version of Pricedown (GTA font) from a couple different versions of the font to make an overall better version, and gave the numbers a different font called "Small Pixel 7" -I included my version of the font if anyone wants it.
hi sry for the tag but are other languages supported yet?
Not for languages that use the backup font
does this ship with the Tarot Text font? unironically i love how it looks
No, but you can find it here: https://fontstruct.com/fontstructions/show/2409164/balatro-consumable-cards
sick
the only issue is i wish it had the other D
hmmmm i wonder how hard it is to fontstruct
SMODS.findModByID is dead and SMODS.INIT doesnt exist
would you want me to just send the 1.0-compatible code?
sure, I can add it to the original message
lol I'm messing with it but can't get it to work
--- STEAMODDED HEADER
--- MOD_NAME: Custom Font
--- MOD_ID: CustomFont
--- MOD_AUTHOR: [MathIsFun_]
--- MOD_DESCRIPTION: Allows setting the game font to a custom font. Must be named "font.ttf".
----------------------------------------------
------------MOD CODE -------------------------
local customfont_mod = SMODS.current_mod
if NFS.read(customfont_mod.path.."font.ttf") ~= nil then
print("HEY!")
local file = NFS.read(customfont_mod.path.."font.ttf")
NFS.write(love.filesystem.getAppdataDirectory( ).."/temp-font.ttf", file)
G.LANG.font.FONT = love.graphics.newFont(love.filesystem.getAppdataDirectory( ).."/temp-font.ttf", G.TILESIZE * 10)
G.LANG.font.FONTSCALE = 0.07 --Can be configured to adjust text size
NFS.remove(love.filesystem.getAppdataDirectory( ).."/temp-font.ttf")
end
----------------------------------------------
------------MOD CODE END----------------------
``` (note this is test code, scroll above for the usable one)
love does not want to read the files for some reason
that looks compliced
I'm trying to use nativefs to move the file into a directory LOVE likes, but for some reason it's not working
why does it not like the directory you were using
oo
you have given me too much power
thunk is weeping right now
you sicken me
balatro if it was epic
This font screams exclamation points
Love the glossy 2000s vibes
its like a robocop font or smth i was trying to find a nice one to switch things up and all i got was cursed stuff
Well I use Belligerent Madness as a display font so I'm not one to really talk about cursed :p
That's a good example of a boss blind
ono
I tried using modified m6x11plus and... it seems to be a bit small
well, I guess it's reasonable since the modified font is supposed to support Vietnamese, which has accented glyphs take up a lot of space
wait... is the font size modifiable
Yes
Forgot I could try this mod out now so I put some Super Mario 256 font on it
Kinda sad it's slightly rised up (if you look at hands and discards)
The plus are barely visible lol
I swear this should be possible
blank font = the ultimate challenge
"Blindness": All texts are blank spaces
you have to do the math on your own
I bet someone can naneinf with that
Not that it's a very hard thing to do, main way to get naneinf is baron/mime/joker retrigger things + a lot of red seal steel kings and cryptids, if you're going for naneinf you probably remember what all of them do and they aren't scaling, so no need to read their descriptions, textures of jokers and cards can tell you all you need
somehow if i install this alone, the custom font works but when installing together with cryptid/talisman, it reverts back to default font. any idea?
i'm on 1.0 steamodded
Weird, works fine for me with those mods
is this how it should look like for my Mods dir?
not sure if i should put CustomFont.lua and font.ttf inside a nested folder or not
if i remove Talisman, the custom font works, hmm
I put CustomFont in its own folder
Maybe it’s not loaded properly because it’s in the root folder?
Or the only other thing I could think of would be a Linux-specific issue
let me try
oh wait, Talisman lovely patch payload override the font:
font = G.LANGUAGES['en-us'].font
Hmm
That would make sense
Not sure why nobody else ever noticed that; maybe it works fine if the language is set to en-us
Actually looking at the code, the font is already set to G.LANGUAGES['en-us'].font before the patch, so that wouldn’t cause the issue
true
but it is definitely conflicting with Talisman tho
this works, if i have only Cryptid without Talisman
cryptid isn't loaded if you don't have Talisman
only the lovely patches are
CustomFont works fine even with a 1.0 modpack so I'm not sure what in Cryptid is causing this
maybe if we can specify the loading order of mods, then if custom font is loaded last, then it would work ?
i've tried starting fresh a few times but not able to control the order
You can add PRIORITY = 100 or something to the header of CustomFont
Is there any reason why even after altering priority Custom Font still isn't loaded?
Sometimes LOVE doesn’t like the game directory
I have a patch that fixes this that I can send after I get back from vacation
It’s the one I put in https://discord.com/channels/1116389027176787968/1230339101119615016 iirc
Is it in the mega modpack zip?
Yep
👍 that works
does this tool have a github page? i'm trying to link it publicly to others
It’d be funny as hell if something like this was possible without mods (its perfect regardless)
You download them on the net, unless you want to create your own font
ok so
i replaced the font.ttf
but when i launch balatro it's still the same ol font
even though i renamed the font file to "font.ttf"
ight
You might need the version bundled in Dimserene’s Modpack. Because there is one version that sometimes just doesn’t work (but I think it crashes when that happens iirc)
I think you have the version that always works in that case
I don't know, I used autumnmood's port
Yeah that one is good
Because I think there’s a version which moves to a temp file that’s accessible without nativefs, because otherwise it caused issues sometimes
^^
Custom Fonts Mod [Deprecated]
What why
It's being merged with Trance iirc
yk thats pretty epic
yeah makes sense
i will dissapear
forgot to explain why here but ye, I merged it with Trance and made it better
I know it's essentially been a year but I thought I should ask
I can't find the version of trance that includes custom fonts
just thought I'd ask if anyone's got a link or something
thanks :D
use SMODS.Font

