TTC Fonts support.

Issue #94 resolved
DBLobster created an issue

Many CJK fonts are TTC (TrueType Font Collection) format. it can open with TTF_OpenFontIndex(). so, I modify ext.font to support it.

  • 0000-ext.font-add-argument-index-for-FontManager.patch - code patch.
  • 0001-ext.font-update-docs.patch - docs
  • - test code.
  • pysdl2-ext-ttc.jpg - test image

The use a TTC font named "NotoSansCJK-Regular.ttc". it also in fonts-noto-cjk at Debian, or in noto-fonts-cjk at Arch.

Comments (4)

  1. Log in to comment