Skip to content

Commit 562b08d

Browse files
committed
[linux_fonts] Add FcObjectSet parameter to FcFontList
1 parent e369aa1 commit 562b08d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

find_system_fonts_filename/linux_fonts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_system_fonts_filename() -> Set[str]:
5858
config = LinuxFonts._font_config.FcInitLoadConfigAndFonts()
5959
pat = LinuxFonts._font_config.FcPatternCreate()
6060
os = LinuxFonts._font_config.FcObjectSetBuild(b"file", b"fontformat", 0)
61-
fs = LinuxFonts._font_config.FcFontList(config, pat, None)
61+
fs = LinuxFonts._font_config.FcFontList(config, pat, os)
6262

6363
for i in range(fs.contents.nfont):
6464
font = fs.contents.fonts[i]

0 commit comments

Comments
 (0)