From 6a46f7ffcd988ac7f1123a49d03528c4ef335a9f Mon Sep 17 00:00:00 2001 From: Rajeesh K Nambiar Date: Tue, 2 Dec 2014 20:35:19 +0100 Subject: [Rachana] Add contextual chaining rule and glyph decomposition to suppress dotted circle before ാം and ാമത്തെ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a 'ccmp' Glyph Decomposition lookup to map dotted circle to NULL (empty glyph) Add a 'calt' Contextual Chaining Substitution lookup to apply 'ccmp' on pattern "(digit|hyphen)ാ(ം|മ)" Test case: 1-ാം, 1-ാമത്തെ, 1ാം, 1ാമത്തെ Signed-off-by: Rajeesh K Nambiar --- Rachana.sfd | 226 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 126 insertions(+), 100 deletions(-) diff --git a/Rachana.sfd b/Rachana.sfd index 2a19d64..2fa397d 100644 --- a/Rachana.sfd +++ b/Rachana.sfd @@ -21,7 +21,7 @@ OS2Version: 1 OS2_WeightWidthSlopeOnly: 0 OS2_UseTypoMetrics: 1 CreationTime: 1201144321 -ModificationTime: 1416127763 +ModificationTime: 1417548800 PfmFamily: 17 TTFWeight: 400 TTFWidth: 5 @@ -70,10 +70,35 @@ Lookup: 4 256 0 "'psts' Post Base Substitutions in Malay+AQEA-lam/Malay+AQEA-lam Lookup: 4 0 0 "'haln' Halant Forms in Malay+AQEA-lam lookup 7" { "'haln' Halant Forms in Malay+AQEA-lam lookup 7 subtable" } ['haln' ('mlym' <'dflt' > ) ] Lookup: 4 0 0 "'pstf' Post Base Forms in Malay+AQEA-lam lookup 8" { "'pstf' Post Base Forms in Malay+AQEA-lam lookup 8 subtable" } ['pstf' ('mlym' <'dflt' > ) ] Lookup: 4 0 0 "'pstf' Post Base Forms in Malay+AQEA-lam2 lookup 8" { "'pstf' Post Base Forms in Malay+AQEA-lam2 lookup 8 subtable" } ['pstf' ('mlm2' <'dflt' > ) ] +Lookup: 6 0 0 "'calt' Contextual Alternates lookup 9" { "'calt' Contextual Alternates lookup 9 subtable 1" } ['calt' ('mlm2' <'dflt' > 'mlym' <'dflt' > ) ] +Lookup: 2 0 0 "'ccmp' Glyph Composition/Decomposition lookup 10" { "'ccmp' Glyph Composition/Decomposition lookup 10 subtable 1" } ['ccmp' ('mlm2' <'dflt' > 'mlym' <'dflt' > ) ] Lookup: 260 0 0 "'abvm' Above Base Mark in Malay+AQEA-lam/Malay+AQEA-lam2 lookup 0" { "'abvm' Above Base Mark in Malay+AQEA-lam/Malay+AQEA-lam2 lookup 0 subtable" } ['abvm' ('mlm2' <'dflt' > 'mlym' <'dflt' > ) ] MarkAttachClasses: 2 "nomark" 0 DEI: 91125 +ChainSub2: class "'calt' Contextual Alternates lookup 9 subtable 1" 5 5 5 1 + Class: 56 hyphen zero one two three four five six seven eight nine + Class: 11 anusvara m1 + Class: 2 a2 + Class: 7 uni25CC + BClass: 56 hyphen zero one two three four five six seven eight nine + BClass: 11 anusvara m1 + BClass: 2 a2 + BClass: 7 uni25CC + FClass: 56 hyphen zero one two three four five six seven eight nine + FClass: 11 anusvara m1 + FClass: 2 a2 + FClass: 7 uni25CC + 1 1 2 + ClsList: 4 + BClsList: 1 + FClsList: 3 2 + 1 + SeqLookup: 0 "'ccmp' Glyph Composition/Decomposition lookup 10" + ClassNames: "All_Others" "digits" "am_ma" "aa" "dotted_c" + BClassNames: "All_Others" "digits" "am_ma" "aa" "dotted_c" + FClassNames: "All_Others" "digits" "am_ma" "aa" "dotted_c" +EndFPST TtTable: prep PUSHW_1 511 @@ -771,7 +796,7 @@ NameList: Adobe Glyph List DisplaySize: -36 AntiAlias: 1 FitToEm: 1 -WinInfo: 408 34 12 +WinInfo: 714 34 12 BeginPrivate: 0 EndPrivate AnchorClass2: "dotreph" "'abvm' Above Base Mark in Malay+AQEA-lam/Malay+AQEA-lam2 lookup 0 subtable" @@ -8860,6 +8885,7 @@ SplineSet 250 204 250 204 294 176 c 1,73,-1 EndSplineSet Validated: 33 +MultipleSubs2: "'ccmp' Glyph Composition/Decomposition lookup 10 subtable 1" NULL EndChar StartChar: NULL @@ -40824,24 +40850,24 @@ LayerCount: 2 Back Fore SplineSet -1576 -352 m 0 - 1576 -452 1576 -452 1522 -538 c 0 - 1468 -624 1468 -624 1370 -664 c 1 - 1328 -604 l 1 - 1462 -538 1462 -538 1462 -380 c 0 - 1462 -276 1462 -276 1402 -220 c 1 - 1344 -162 1344 -162 1262 -162 c 0 - 1176 -162 1176 -162 1116 -220 c 1 - 1054 -278 1054 -278 1054 -386 c 0 - 1054 -462 1054 -462 1092 -528 c 0 - 1128 -592 1128 -592 1202 -622 c 1 - 1176 -664 l 1 - 1086 -620 1086 -620 1036 -538 c 1 - 988 -456 988 -456 988 -364 c 0 - 988 -218 988 -218 1080 -132 c 1 - 1174 -46 1174 -46 1294 -46 c 0 - 1412 -46 1412 -46 1494 -124 c 1 - 1576 -204 1576 -204 1576 -352 c 0 +1576 -352 m 0,0,1 + 1576 -452 1576 -452 1522 -538 c 0,2,3 + 1468 -624 1468 -624 1370 -664 c 1,4,-1 + 1328 -604 l 1,5,6 + 1462 -538 1462 -538 1462 -380 c 0,7,8 + 1462 -276 1462 -276 1402 -220 c 1,9,10 + 1344 -162 1344 -162 1262 -162 c 0,11,12 + 1176 -162 1176 -162 1116 -220 c 1,13,14 + 1054 -278 1054 -278 1054 -386 c 0,15,16 + 1054 -462 1054 -462 1092 -528 c 0,17,18 + 1128 -592 1128 -592 1202 -622 c 1,19,-1 + 1176 -664 l 1,20,21 + 1086 -620 1086 -620 1036 -538 c 1,22,23 + 988 -456 988 -456 988 -364 c 0,24,25 + 988 -218 988 -218 1080 -132 c 1,26,27 + 1174 -46 1174 -46 1294 -46 c 0,28,29 + 1412 -46 1412 -46 1494 -124 c 1,30,31 + 1576 -204 1576 -204 1576 -352 c 0,0,1 EndSplineSet Refer: 188 3451 N 1 0 0 1 0 0 2 LCarets2: 2 0 0 @@ -40858,40 +40884,40 @@ LayerCount: 2 Back Fore SplineSet -1696 -830 m 0 - 1696 -918 1696 -918 1634 -978 c 1 - 1572 -1040 1572 -1040 1484 -1040 c 0 - 1396 -1040 1396 -1040 1334 -978 c 1 - 1270 -918 1270 -918 1270 -830 c 0 - 1270 -712 1270 -712 1372 -650 c 1 - 1340 -604 l 1 - 1474 -538 1474 -538 1474 -380 c 0 - 1474 -276 1474 -276 1414 -220 c 1 - 1356 -162 1356 -162 1274 -162 c 0 - 1188 -162 1188 -162 1128 -220 c 1 - 1066 -278 1066 -278 1066 -386 c 0 - 1066 -462 1066 -462 1104 -528 c 0 - 1140 -592 1140 -592 1214 -622 c 1 - 1188 -664 l 1 - 1098 -620 1098 -620 1048 -538 c 1 - 1000 -456 1000 -456 1000 -364 c 0 - 1000 -218 1000 -218 1092 -132 c 1 - 1186 -46 1186 -46 1306 -46 c 0 - 1424 -46 1424 -46 1506 -124 c 0 - 1590 -204 1590 -204 1590 -352 c 0 - 1590 -520 1590 -520 1464 -618 c 1 - 1484 -618 l 2 - 1572 -618 1572 -618 1634 -680 c 0 - 1696 -742 1696 -742 1696 -830 c 0 -1598 -806 m 0 - 1598 -758 1598 -758 1564 -722 c 0 - 1532 -688 1532 -688 1482 -688 c 0 - 1434 -688 1434 -688 1400 -722 c 1 - 1366 -758 1366 -758 1366 -806 c 0 - 1366 -856 1366 -856 1400 -890 c 0 - 1434 -924 1434 -924 1482 -924 c 0 - 1532 -924 1532 -924 1564 -890 c 1 - 1598 -856 1598 -856 1598 -806 c 0 +1696 -830 m 0,0,1 + 1696 -918 1696 -918 1634 -978 c 1,2,3 + 1572 -1040 1572 -1040 1484 -1040 c 0,4,5 + 1396 -1040 1396 -1040 1334 -978 c 1,6,7 + 1270 -918 1270 -918 1270 -830 c 0,8,9 + 1270 -712 1270 -712 1372 -650 c 1,10,-1 + 1340 -604 l 1,11,12 + 1474 -538 1474 -538 1474 -380 c 0,13,14 + 1474 -276 1474 -276 1414 -220 c 1,15,16 + 1356 -162 1356 -162 1274 -162 c 0,17,18 + 1188 -162 1188 -162 1128 -220 c 1,19,20 + 1066 -278 1066 -278 1066 -386 c 0,21,22 + 1066 -462 1066 -462 1104 -528 c 0,23,24 + 1140 -592 1140 -592 1214 -622 c 1,25,-1 + 1188 -664 l 1,26,27 + 1098 -620 1098 -620 1048 -538 c 1,28,29 + 1000 -456 1000 -456 1000 -364 c 0,30,31 + 1000 -218 1000 -218 1092 -132 c 1,32,33 + 1186 -46 1186 -46 1306 -46 c 0,34,35 + 1424 -46 1424 -46 1506 -124 c 0,36,37 + 1590 -204 1590 -204 1590 -352 c 0,38,39 + 1590 -520 1590 -520 1464 -618 c 1,40,-1 + 1484 -618 l 2,41,42 + 1572 -618 1572 -618 1634 -680 c 0,43,44 + 1696 -742 1696 -742 1696 -830 c 0,0,1 +1598 -806 m 0,45,46 + 1598 -758 1598 -758 1564 -722 c 0,47,48 + 1532 -688 1532 -688 1482 -688 c 0,49,50 + 1434 -688 1434 -688 1400 -722 c 1,51,52 + 1366 -758 1366 -758 1366 -806 c 0,53,54 + 1366 -856 1366 -856 1400 -890 c 0,55,56 + 1434 -924 1434 -924 1482 -924 c 0,57,58 + 1532 -924 1532 -924 1564 -890 c 1,59,60 + 1598 -856 1598 -856 1598 -806 c 0,45,46 EndSplineSet Refer: 188 3451 N 1 0 0 1 0 0 2 LCarets2: 1 0 @@ -40907,52 +40933,52 @@ LayerCount: 2 Back Fore SplineSet -1784 -802 m 0 - 1784 -912 1784 -912 1706 -990 c 1 - 1626 -1068 1626 -1068 1516 -1068 c 0 - 1408 -1068 1408 -1068 1328 -990 c 1 - 1250 -912 1250 -912 1250 -802 c 0 - 1250 -678 1250 -678 1344 -598 c 1 - 1332 -584 l 1 - 1466 -522 1466 -522 1466 -360 c 0 - 1466 -256 1466 -256 1408 -198 c 1 - 1348 -142 1348 -142 1266 -142 c 0 - 1180 -142 1180 -142 1120 -200 c 1 - 1058 -258 1058 -258 1058 -364 c 0 - 1058 -442 1058 -442 1096 -506 c 1 - 1132 -572 1132 -572 1206 -602 c 1 - 1180 -644 l 1 - 1090 -600 1090 -600 1040 -518 c 1 - 992 -436 992 -436 992 -342 c 0 - 992 -194 992 -194 1084 -110 c 0 - 1178 -24 1178 -24 1298 -24 c 0 - 1416 -24 1416 -24 1498 -104 c 1 - 1582 -184 1582 -184 1582 -332 c 0 - 1582 -446 1582 -446 1516 -536 c 1 - 1626 -536 1626 -536 1706 -614 c 1 - 1784 -692 1784 -692 1784 -802 c 0 -1594 -696 m 0 - 1594 -636 1594 -636 1542 -612 c 0 - 1488 -588 1488 -588 1444 -618 c 1 - 1398 -644 1398 -644 1398 -696 c 0 - 1398 -738 1398 -738 1424 -764 c 0 - 1450 -790 1450 -790 1492 -790 c 0 - 1532 -790 1532 -790 1562 -762 c 1 - 1594 -736 1594 -736 1594 -696 c 0 -1708 -768 m 0 - 1708 -698 1708 -698 1658 -634 c 1 - 1672 -662 1672 -662 1672 -692 c 0 - 1672 -758 1672 -758 1624 -802 c 1 - 1578 -848 1578 -848 1512 -848 c 0 - 1446 -848 1446 -848 1400 -802 c 1 - 1354 -758 1354 -758 1354 -692 c 0 - 1354 -658 1354 -658 1366 -630 c 1 - 1358 -622 l 1 - 1294 -680 1294 -680 1294 -768 c 0 - 1294 -856 1294 -856 1354 -916 c 1 - 1414 -974 1414 -974 1500 -974 c 0 - 1588 -974 1588 -974 1648 -916 c 1 - 1708 -856 1708 -856 1708 -768 c 0 +1784 -802 m 0,0,1 + 1784 -912 1784 -912 1706 -990 c 1,2,3 + 1626 -1068 1626 -1068 1516 -1068 c 0,4,5 + 1408 -1068 1408 -1068 1328 -990 c 1,6,7 + 1250 -912 1250 -912 1250 -802 c 0,8,9 + 1250 -678 1250 -678 1344 -598 c 1,10,-1 + 1332 -584 l 1,11,12 + 1466 -522 1466 -522 1466 -360 c 0,13,14 + 1466 -256 1466 -256 1408 -198 c 1,15,16 + 1348 -142 1348 -142 1266 -142 c 0,17,18 + 1180 -142 1180 -142 1120 -200 c 1,19,20 + 1058 -258 1058 -258 1058 -364 c 0,21,22 + 1058 -442 1058 -442 1096 -506 c 1,23,24 + 1132 -572 1132 -572 1206 -602 c 1,25,-1 + 1180 -644 l 1,26,27 + 1090 -600 1090 -600 1040 -518 c 1,28,29 + 992 -436 992 -436 992 -342 c 0,30,31 + 992 -194 992 -194 1084 -110 c 0,32,33 + 1178 -24 1178 -24 1298 -24 c 0,34,35 + 1416 -24 1416 -24 1498 -104 c 1,36,37 + 1582 -184 1582 -184 1582 -332 c 0,38,39 + 1582 -446 1582 -446 1516 -536 c 1,40,41 + 1626 -536 1626 -536 1706 -614 c 1,42,43 + 1784 -692 1784 -692 1784 -802 c 0,0,1 +1594 -696 m 0,44,45 + 1594 -636 1594 -636 1542 -612 c 0,46,47 + 1488 -588 1488 -588 1444 -618 c 1,48,49 + 1398 -644 1398 -644 1398 -696 c 0,50,51 + 1398 -738 1398 -738 1424 -764 c 0,52,53 + 1450 -790 1450 -790 1492 -790 c 0,54,55 + 1532 -790 1532 -790 1562 -762 c 1,56,57 + 1594 -736 1594 -736 1594 -696 c 0,44,45 +1708 -768 m 0,58,59 + 1708 -698 1708 -698 1658 -634 c 1,60,61 + 1672 -662 1672 -662 1672 -692 c 0,62,63 + 1672 -758 1672 -758 1624 -802 c 1,64,65 + 1578 -848 1578 -848 1512 -848 c 0,66,67 + 1446 -848 1446 -848 1400 -802 c 1,68,69 + 1354 -758 1354 -758 1354 -692 c 0,70,71 + 1354 -658 1354 -658 1366 -630 c 1,72,-1 + 1358 -622 l 1,73,74 + 1294 -680 1294 -680 1294 -768 c 0,75,76 + 1294 -856 1294 -856 1354 -916 c 1,77,78 + 1414 -974 1414 -974 1500 -974 c 0,79,80 + 1588 -974 1588 -974 1648 -916 c 1,81,82 + 1708 -856 1708 -856 1708 -768 c 0,58,59 EndSplineSet Refer: 188 3451 N 1 0 0 1 0 0 2 LCarets2: 1 0 -- cgit