Closed ohbendy closed 1 year ago
Thanks for this. I am just testing it for shaping differences; the sans looks fine, but I noticed a couple of oddities in the serif. Before:
After:
Text is:
ລ໌ຳ ເໜົ່າໆ
(I suspect the second one is an improvement, and the first one is not)
Wow, thanks for finding those! Let me fix a bit :)
Ok the first one is a bad anchor name. Now that's updated all those combinations work beautifully. Here is ກໍ່ ກໍ້ ກໍ໊ ກໍ໋ ກໍ໌ ກ່ຳ ກ້ຳ ກ໊ຳ ກ໋ຳ ກ໌ຳ
The second/third ones are where the ligatures with nikahit are all slightly improved. There were inconsistencies in some masters between the default and the .right versions, and IIRC the .small tonemarks in some of those ligatures were slightly different from the outlines in the non-ligature .small tonemarks. Now the tonemarks should always sit at the same height.
The fourth one is where the abovevowel should have been pulled to the left in the context of a pre-base vowel, but that wasn't happening before. Now the ligatures ho-no and ho-mo are included in the class of base consonants so the behaviour of marks on them follows what happens on other consonants. Pushing now.
Both Serif and Sans
Glyphs
Added characters for Unicodes 12 and 15: gha-lao cha-lao jha-lao nya-lao tta-lao ttha-lao dda-lao ddha-lao nna-lao dha-lao bha-lao sha-lao ssa-lao lla-lao virama-lao and yamakkan-lao
Marks now all have 50 units on each sidebearing so can be edited easily in Glyphs without all overlapping. Glyphs zeroes the widths of marks on export.
Removed amVowel-lao.narrow as nikkahita will always be dynamically positioned on anchors. (If we don't decompose it, tracking and kerning will disturb the position of the nikkahita.)
Synchronised niggahita_tonemark and niggahita_tonemark.right ligatures (the shape and position of tonemarks was differing in e.g ກ້ຳ vs ກໍ້)
Anchors
Moved bottom anchors on loVowel and loVowel.narrow to keep any marks below aligned consistently.
Corrected bottom anchor on koKai in thin compressed master.
Corrected anchors on dottedCircle to keep marks consistent with each other and with their position on letters.
renamed top2 anchors to topright (top2 was the topright in the serif and the top in the sans)
OpenType
Refactored OT code completely to tidy up and remove bugs.
subscript Lo was disabling contextual centring of vowels, e.g ເກຼັ and contextual narrow marks e.g ປຼ້ຳ ປຼິ ຢຼັ
PS Hints
One vertical and one horizontal stem weight set for each master (values cannot be zero) - Manually set hints on stems in every glyph for best results - Added 'Get Hints from Master' parameter
Sans
Glyphs
Anchors
Serif