Home
last modified time | relevance | path

Searched refs:langsys (Results 1 – 6 of 6) sorted by relevance

/external/fonttools/Snippets/
Dlayout-features.py36 for langsys in languages:
37 print(" Language:", langsys.LangSysTag)
38 if not langsys.LangSys:
41 features = [featureRecords[index] for index in langsys.LangSys.FeatureIndex]
42 if langsys.LangSys.ReqFeatureIndex != 0xFFFF:
43 record = featureRecords[langsys.LangSys.ReqFeatureIndex]
/external/harfbuzz_ng/src/
Dmain.cc123 const LangSys &langsys = n_langsys == -1 in main() local
131 if (!langsys.has_required_feature ()) in main()
135 langsys.get_required_feature_index ()); in main()
137 int num_features = langsys.get_feature_count (); in main()
141 langsys.get_feature_index (n_feature)); in main()
/external/fonttools/Tests/voltLib/
Dparser_test.py292 [langsys] = self.parse(
298 self.assertEqual((langsys.name, langsys.tag),
301 lang = langsys.langs[0]
310 [langsys] = self.parse(
338 [langsys] = self.parse(
368 [langsys] = self.parse(
374 self.assertEqual((langsys.name, langsys.tag),
377 lang = langsys.langs[0]
386 [langsys] = self.parse(
/external/fonttools/Lib/fontTools/
Dmerge.py647 for langsys in [script.Script.DefaultLangSys] + [l.LangSys for l in script.Script.LangSysRecord]:
648 if langsys is None: continue # XXX Create!
649 feature = [v for v in langsys.FeatureIndex if v.FeatureTag == 'locl']
661 langsys.FeatureIndex.append(synthFeature)
662 langsys.FeatureIndex.sort(key=lambda v: v.FeatureTag)
/external/fonttools/Tests/feaLib/
Dparser_test.py1444 [_, _, _, langsys, ligs, sub, feature] = doc.statements
1637 [langsys] = self.parse("languagesystem latn DEU;").statements
1638 self.assertEqual(langsys.script, "latn")
1639 self.assertEqual(langsys.language, "DEU ")
1640 [langsys] = self.parse("languagesystem DFLT DEU;").statements
1641 self.assertEqual(langsys.script, "DFLT")
1642 self.assertEqual(langsys.language, "DEU ")
/external/fonttools/Lib/fonttools.egg-info/
DSOURCES.txt322 Snippets/fix-dflt-langsys.py