Skip to content

Commit

Permalink
Add NetBSD Fonts
Browse files Browse the repository at this point in the history
Credits go to @Randrianasulu.

Fixes #595.
  • Loading branch information
jcdr428 committed May 4, 2022
1 parent 327744f commit 548eb1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tsMuxer/osdep/textSubtitlesRenderFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const static char FONT_ROOT[] = "c:/WINDOWS/Fonts"; // for debug only
const static char FONT_ROOT[] = "/usr/share/fonts/";
#elif defined(__APPLE__) && defined(__MACH__)
const static char FONT_ROOT[] = "/System/Library/Fonts/";
#elif defined(__NetBSD__)
const static char FONT_ROOT[] = "/usr/X11R7/lib/X11/fonts/";
#endif

#include <freetype/ftstroke.h>
Expand Down

0 comments on commit 548eb1d

Please sign in to comment.