Template talk:Script/Tai Tham

Latest comment: 2 years ago by RichardW57 in topic Order of fonts

Order of fonts edit

@Brightstar and KLITE789: I have a problem with the order of fonts. I am finding "A Tai Tham KH New", which is first on the list of fonts, inferior to "A Tai Tham KH", which is second on the list. Has there been a systematic comparison to decide which should go first? Perhaps I need to make one myself, but I'm hoping someone else has done the work. I also have a nagging suspicion that "A Tai Tham KH New" may be relying on the Windows 10 renderer, which has been replaced by HarfBuzz in MS Edge. The problem I'm seeing is that in the sequence <consonant, SAKOT, LOW YA, SIGN E>, the SIGN E is not moved to the left. This sequence is one given for vowels in the successful run of encoding proposals made to Unicoe. I'm using this for a listing of matras in articles like Va (Indic)#Tai Tham. Possible work-arounds are:

  1. Create an alternative to {{Script}} that works for this sequence and apply it to all, or all the troublesome, cells for the tables of matra.
  2. Create images for all 40-odd instances of this vowel. However, the matras would not then, in general, be from a consistent font.
  3. Create images for all Tai Tham CV sequences eligible for display. (That's over a thousand images.)

They all feel wrong. --RichardW57m (talk) 13:34, 10 November 2021 (UTC)Reply

I believe that this is the correct display: I have edited the template to add a new font in front, Lamphun, which you can download from http://wrdingham.co.uk/lanna/lamphun.otf. Give it a try and see if it works. KLITE789 (talk) 16:39, 10 November 2021 (UTC)Reply
I made that font from Ed Trager's Hariphunchai font by rewriting the GSUB table to overcome the Universal Shaping Engine! Such are the benefits of the Open Font License. The torture test for the font is at http://wrdingham.co.uk/lanna/renderer_test.htm, but that's more for renderer issues. HarfBuzz's changing to accept CVC aksharas broke the handling of CVCV aksharas, and I haven't published the fixes for that yet. Fortunately, CVCV aksharas are quite infrequent. --RichardW57 (talk) 00:49, 11 November 2021 (UTC)Reply