Skip to content

Commit

Permalink
Update mac_fonts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Jan 21, 2024
1 parent 3cc444c commit cc66f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find_system_fonts_filename/mac_fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_system_fonts_filename() -> Set[str]:
font_descriptor = MacFonts._core_foundation.CFArrayGetValueAtIndex(font_array, i)

font_format_ptr = MacFonts._core_text.CTFontDescriptorCopyAttribute(font_descriptor, MacFonts._kCTFontFormatAttribute)
font_format = CTFontFormat(font_format_ptr)
font_format = CTFontFormat(font_format_ptr.contents.value)
MacFonts._core_foundation.CFRelease(font_format_ptr)


Expand Down

0 comments on commit cc66f39

Please sign in to comment.