Searched refs:langsys (Results 1 – 6 of 6) sorted by relevance
/external/fonttools/Snippets/ |
D | layout-features.py | 34 for langsys in languages: 35 print(" Language:", langsys.LangSysTag) 36 if not langsys.LangSys: 39 features = [featureRecords[index] for index in langsys.LangSys.FeatureIndex] 40 if langsys.LangSys.ReqFeatureIndex != 0xFFFF: 41 record = featureRecords[langsys.LangSys.ReqFeatureIndex]
|
/external/harfbuzz_ng/src/ |
D | main.cc | 133 const LangSys &langsys = n_langsys == -1 in main() local 141 if (!langsys.has_required_feature ()) in main() 145 langsys.get_required_feature_index ()); in main() 147 int num_features = langsys.get_feature_count (); in main() 152 langsys.get_feature_index (n_feature)); in main()
|
/external/fonttools/Tests/voltLib/ |
D | parser_test.py | 287 [langsys] = self.parse( 293 self.assertEqual((langsys.name, langsys.tag), 296 lang = langsys.langs[0] 305 [langsys] = self.parse( 333 [langsys] = self.parse( 363 [langsys] = self.parse( 369 self.assertEqual((langsys.name, langsys.tag), 372 lang = langsys.langs[0] 381 [langsys] = self.parse(
|
/external/fonttools/Lib/fontTools/ |
D | merge.py | 649 for langsys in [script.Script.DefaultLangSys] + [l.LangSys for l in script.Script.LangSysRecord]: 650 if langsys is None: continue # XXX Create! 651 feature = [v for v in langsys.FeatureIndex if v.FeatureTag == 'locl'] 663 langsys.FeatureIndex.append(synthFeature) 664 langsys.FeatureIndex.sort(key=lambda v: v.FeatureTag)
|
/external/fonttools/Tests/feaLib/ |
D | parser_test.py | 1604 [_, _, _, langsys, ligs, sub, feature] = doc.statements 1804 [langsys] = self.parse("languagesystem latn DEU;").statements 1805 self.assertEqual(langsys.script, "latn") 1806 self.assertEqual(langsys.language, "DEU ") 1807 [langsys] = self.parse("languagesystem DFLT DEU;").statements 1808 self.assertEqual(langsys.script, "DFLT") 1809 self.assertEqual(langsys.language, "DEU ")
|
/external/fonttools/Lib/fontTools/subset/ |
D | __init__.py | 1538 langsys = {} 1543 langsys.setdefault(script_tag, set()).add(lang_tag.ljust(4)) 1552 if record.ScriptTag in langsys and '* ' not in langsys[record.ScriptTag]: 1555 if l.LangSysTag in langsys[record.ScriptTag]] 1557 if "dflt" not in langsys[record.ScriptTag]:
|