kkartaltepe / obs-text-pango

Text Source using Pango for OBS Studio
GNU General Public License v2.0
49 stars 16 forks source link

Change emoji font #24

Closed Nerzhhh closed 1 year ago

Nerzhhh commented 1 year ago

Hi, I would like to know if it's possible to change the emoji font, I've been trying to put an other font in obs-studio\data\obs-plugins\text-pango\fonts\emoji but that doesn't seem to work even by changing the name of the ttf file. Thanks for your help :)

kkartaltepe commented 1 year ago

If you are on linux then setting your system wide default emoji font will work, if you are mac you must follow the same steps as linux for changing fontconfig but modify the plugin local fontconfig in obs-studio/plugins/libtext-pango/data.

Usually that means installing the font, then changing https://github.com/kkartaltepe/obs-text-pango/blob/master/data/apple/conf.d/66-noto-color-emoji.conf#L16 to be your preferred font.

Note only CBDT/CBLC fonts are supported by the released versions, the only font commonly distributed in this format is Noto Emoji Color.