diff --git a/pycaption/NotoSansThai-Regular.ttf b/pycaption/NotoSansThai-Regular.ttf new file mode 100644 index 00000000..638e709b Binary files /dev/null and b/pycaption/NotoSansThai-Regular.ttf differ diff --git a/pycaption/scenarist.py b/pycaption/scenarist.py index 5da85d2b..d981fb30 100644 --- a/pycaption/scenarist.py +++ b/pycaption/scenarist.py @@ -97,6 +97,7 @@ class ScenaristDVDWriter(BaseWriter): Language.get('zh-TW'): {'fontfile': f"{os.path.dirname(__file__)}/NotoSansTC+Math-Regular.ttf", 'align': 'left'}, Language.get('zh-CN'): {'fontfile': f"{os.path.dirname(__file__)}/NotoSansSC+Math-Regular.ttf", 'align': 'left'}, Language.get('ko-KR'): {'fontfile': f"{os.path.dirname(__file__)}/NotoSansKR+Math-Regular.ttf", 'align': 'left'}, + Language.get('th'): {'fontfile': f"{os.path.dirname(__file__)}/NotoSansThai-Regular.ttf", 'align': 'left'}, } def __init__(self, relativize=True, video_width=720, video_height=480, fit_to_screen=True, tape_type='NON_DROP',