liblouis
liblouis copied to clipboard
Special handling of the new `#+unicode-range` metadata field
- Default value in tables is ucs2
- Default value in queries is determined by CHARSIZE
- ucs2 in table also matches ucs4 in query
see https://github.com/liblouis/liblouis/issues/1521
And I've added this to the Wiki page:
#+unicode-range: whether the characters used in this table all fall inside the 0-U+FFFF Unicide range (ucs2), or whether some characters are in the > U+10000-U+10FFFF range (ucs4). This metadata field exists because the latter category of tables will not work with versions of Liblouis compiled for 16-bit.
@egli Can you check what's wrong with the de-blista-dictionary.yaml test?
@egli Can you check what's wrong with the de-blista-dictionary.yaml test?
Are you referring to a PR? I don't understand: is this somehow related to this PR?
Ah, I see what you are talking about:
FAIL: braille-specs/de-blista-dictionary
========================================
0050:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
Tables have not been indexed yet. Indexing LOUIS_TABLEPATH.
Best match: /home/runner/work/liblouis/liblouis/tables/de-g2.ctb (26)
lou_checkyaml.exe:./braille-specs/de-blista-dictionary.yaml:221: found unexpected ':'
FAIL braille-specs/de-blista-dictionary.yaml (exit status: 1)
Ah, I see the problem.
- [Autor:innen, ⠡⠞⠢⠠⠒⠔⠝⠉, {xfail: true}] # 16-2345-26-6-25-35-1345-14
- [Autor*innen, ⠡⠞⠢⠠⠔⠊⠝⠝⠉, {xfail: true}] # 16-2345-26-6-35-24-1345-1345-14
I'll create a PR
see #1572