MCPcopy
hub / github.com/subframe7536/maple-font / get_feature_file_path

Method get_feature_file_path

build.py:714–719  ·  view source on GitHub ↗
(self, is_italic: bool, is_cn: bool = False)

Source from the content-addressed store, hash-verified

712 self.github_mirror = environ.get("GITHUB", "github.com")
713
714 def get_feature_file_path(self, is_italic: bool, is_cn: bool = False) -> str:
715 return joinPaths(
716 self.src_dir,
717 "features",
718 ("italic" if is_italic else "regular") + ("_cn" if is_cn else "") + ".fea",
719 )
720
721 def load_cn_dir_and_suffix(self, font_config: FontConfig) -> None:
722 suffix = font_config.get_nf_suffix()

Callers 4

build_monoFunction · 0.80
build_mono_autohintFunction · 0.80
build_cnFunction · 0.80
build_variable_fontsFunction · 0.80

Calls 1

joinPathsFunction · 0.90

Tested by

no test coverage detected