-
Notifications
You must be signed in to change notification settings - Fork 46
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
[feature] Custom font support #30
Comments
sure, just add a custom css file to your obs source
alternatively a webfont
then add this to your css file
change the names as required |
@arrowgent I tried using a modified version of the method you recommended to have a separate font for the usernames and have not been having any luck. I'm using the following: @font-face {
font-family: 'Xirod';
src: url('E:/Fonts/Typodermic Fonts/xirod/xirod.ttf') format('truetype');
}
@font-face {
font-family: 'Xolonium';
src: url('E:/Fonts/Cyberpunk Fonts/xolonium/xolonium-regular.ttf') format('truetype');
}
body {
font-family: 'Xolonium';
font-weight: 700;
}
#chat_container {
font-family: 'Xolonium';
background-color: rgba(0, 0, 0, 0);
margin: 0px auto;
margin-top: -5px;
overflow: hidden;
}
#chat_container .message {
font-family: 'Xolonium';
background-color: rgba(0, 0, 0, 0);
margin-top: -5px;
margin: 0px auto;
overflow: hidden;
}
.user_info {
font-family: 'Xirod' !important;
color: #00FFFF !important;
display: block;
} What am I doing wrong? |
Have you tried installing the font first in your system? If not, make sure to Install it to All Users (Right-click the font on your directory then there's the option). |
Would like an option for custom font selection. None of the current options really are to my taste (I use Inter for my overlay and would like to keep the font on every widget/etc the same).
Edit: Temporary workaround in case you're in a similar situation:
The text was updated successfully, but these errors were encountered: