Fonts Support
What is fonts that replit support ?
FlaminHotValdez
pretty sure it only supports one, which is this one. Although IDE uses monospace font
RYANTADIPARTHI
where do you want the fonts in?
What is fonts that replit support ?
pretty sure it only supports one, which is this one. Although IDE uses monospace font
where do you want the fonts in?
What do you mean? In the console, editor, on websites, what?
@19wintersp I am using canvas to make welcome bot on discord with canvas so I can't install my own font so I need to know fonts to see the best one.
@KoreDev69 Aren't you able to download a font file and use that?
@19wintersp Idk how to install it in replit
@KoreDev69
fc-list
gives this list:So, DejaVu and FreeFont fonts.
@19wintersp Thank you but I can install my own one or nope ?
@KoreDev69 What font did you want to use? You should be able to find a OTF file to download for the font you want. In that case, yes.
@19wintersp It's source sans pro font.
@KoreDev69 Run this:
then rename the file called "rename" to "sourcesanspro.ttf". Then you have the font file. There is probably a tutorial for using the font file with whatever program you're using.
@19wintersp
var nameKind = "Source Sans Pro (OT1)";
this is his name yeah ?
I mean the text in the string .
@KoreDev69 What library are you using the font in?
@19wintersp canvas-constructor
@KoreDev69 Since it's not technically installed, you should add it manually. I haven't done this personally, though this thread might help.