Font for spell-checker suggestions

Richard Wordingham richard.wordingham at ntlworld.com
Mon Jul 7 12:17:44 UTC 2025


I need help on how to select the font for spell-checker suggestions.

I am using a spell-checker I compiled myself.  It is published at
https://wrdingham.co.uk/lanna/dict_nod_Lana_NT.oxt and is targeted at
locale nod-Lana-TH.  (The checker only handles one script.)  To reveal
the order of the codepoints in the suggested corrections, it needs a
special font; to which end I have created the colour font Da Lekh Si,
which I have published in https://wrdingham.co.uk/lanna/dalekh.zip.  At
present, suggestions are being presented in the font Noto Sans Tai
Tham, which is too small, has limited stack handling and appears to be
target towards Khün rather then Northern Thai, and can't event handle
the basic consonant clusters of Pali with left matras.

In my testing, the text being proofed is itself in the font Da Lekh Si.

I had it working on some form of Ubuntu in December 2021; the key to
getting it to work then was include this section

<!-- Make Da Lekh Si the fall back for Ubuntu Regular -->
<alias>
  <family>Ubuntu</family>
  <prefer>
    <family>Ubuntu</family>
    <family>Da Lekh Si</family>
  </prefer>
</alias>

in the file ~/.config/fontconfig/conf.d/99-lanna.conf, which was
created to support the spell-checker.  I have attached the whole file.

I have tried with both the Ubunut snap version, "Version: 24.8.7.2
(X86_64) / LibreOffice Community Build ID:
f4f281f562fb585d46b0af5755dfe1eb6adc047f", and the apt system I
get |Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.utf8); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4".  The latter seems
to use a simpler font configuration system.

Yours in hope,

Richard Wordingham.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 99-lanna.conf
Type: application/octet-stream
Size: 1276 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250707/0b7c2752/attachment.obj>


More information about the LibreOffice mailing list