1 local utr_revision = 17
2 print(' local function rotate_in_utr50(i)')
3 print(' -- UTR#50 revision ' .. utr_revision)
4 local fh = io.open('VerticalOrientation-' .. utr_revision .. '.txt')
8 if c:match('(%x+)%.%.(%x+)%s+;%sT-[rR]') then
9 local b, e = c:match('(%x+)%.%.(%x+)%s+;')
10 b, e = tonumber(b,16), tonumber(e,16)
11 for i=b,e do t[i]=true end
12 elseif c:match('(%x+)%s+;%sT-[rR]') then
13 local b = c:match('(%x+)%s+;')
14 t[tonumber(b,16)]=true
28 if v then print(string.format(' if (0x%04X<=i)and(i<0x%04X) then return true end', b,i)); v = false; end