ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] CJK Unified Ideographs Extension J missing in char-ini.lua
@ 2026-03-03 18:56 Jairo A. del Rio
  2026-03-03 19:33 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2026-03-03 18:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 527 bytes --]

Hi. Currently, char-ini doesn't assign a ConTeXt name for CJK Unified
Ideographs Extension J. I've added this line after line 257 and it works:

    ["cjkunifiedideographsextensionj"]              = { first = 0x323B0,
last = 0x3347F,              description = "CJK Unified Ideographs
Extension J" },

Since some fonts already support this range, a name would come in handy
(see sample attached). There are probably other Unicode range names from
Unicode 17.0 to be added, but I have not checked them out yet.

Regards,

Jairo

[-- Attachment #1.2: Type: text/html, Size: 661 bytes --]

[-- Attachment #2: cjktest.tex --]
[-- Type: text/x-tex, Size: 324 bytes --]

\usetypescript[latinmodern]
\definefontfallback[cjk-j][jigmo3][cjkunifiedideographsextensionj][force=yes]
\definefontsynonym[Serif][latinmodern][fallbacks=cjk-j]
\setupbodyfont[latinmodern]

\startTEXpage[margin=0pt,align={middle,lohi}]

Sample: 𲎰𲎱𲎲𲎳𲎴𲎵𲎶𲎷𲎸𲎹𲎺𲎻𲎼𲎽𲎾𲎿

\stopTEXpage

[-- Attachment #3: cjktest.pdf --]
[-- Type: application/pdf, Size: 12033 bytes --]

[-- Attachment #4: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: CJK Unified Ideographs Extension J missing in char-ini.lua
  2026-03-03 18:56 [NTG-context] CJK Unified Ideographs Extension J missing in char-ini.lua Jairo A. del Rio
@ 2026-03-03 19:33 ` Wolfgang Schuster
       [not found]   ` <CAKyqqaYz-wyA5L7Ho65m++DcszmKsTg_s7WUUAGP_YovVb=a+A@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2026-03-03 19:33 UTC (permalink / raw)
  To: ntg-context

Am 03.03.2026 um 19:56 schrieb Jairo A. del Rio:
> Hi. Currently, char-ini doesn't assign a ConTeXt name for CJK Unified 
> Ideographs Extension J. I've added this line after line 257 and it works:
> 
>      ["cjkunifiedideographsextensionj"]              = { first = 
> 0x323B0, last = 0x3347F,              description = "CJK Unified 
> Ideographs Extension J" },

You can send your modified file to Hans.

> Since some fonts already support this range, a name would come in handy 
> (see sample attached). There are probably other Unicode range names from 
> Unicode 17.0 to be added, but I have not checked them out yet.

https://www.unicode.org/versions/Unicode17.0.0/#Character_Additions

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: CJK Unified Ideographs Extension J missing in char-ini.lua
       [not found]   ` <CAKyqqaYz-wyA5L7Ho65m++DcszmKsTg_s7WUUAGP_YovVb=a+A@mail.gmail.com>
@ 2026-03-04  9:47     ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2026-03-04  9:47 UTC (permalink / raw)
  To: Jairo A. del Rio, mailing list for ConTeXt users; +Cc: Hans Hagen

On 3/3/2026 10:54 PM, Jairo A. del Rio wrote:
> Hi, Wolfgang and Hans. I updated char-ini.lua to include new Unicode 
> 17.0 codepoint ranges.

Updating unicode happens bit differently and hasn't changed much since 
we started with mkiv. There is a script that filters data from various 
files and updates the character database (so I don't have to waste much 
time on it). However, because we also add our own info there, I always 
(visually) diff the changes in order to see if all went well.

I hadn't noticed the 17 update so I just synched. Normally updating 
takes little time. It looks like again this time some egyptian stuff was 
added (I'm still considering moving some rare ancient scripts to a 
second database and load those on demand). There are also some more 
variants defined so I decided to adapt that a bit more agressively.

These ranges: the script reports them so I then add them. With respect 
to emoji, we do some magic with the test file in order to support 
sequences. I could probably do a bit more but emoji are not a top 
priority in the kind of typesetting doen with context.

So, a next upload will be in sync with unicode.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-04  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 18:56 [NTG-context] CJK Unified Ideographs Extension J missing in char-ini.lua Jairo A. del Rio
2026-03-03 19:33 ` [NTG-context] " Wolfgang Schuster
     [not found]   ` <CAKyqqaYz-wyA5L7Ho65m++DcszmKsTg_s7WUUAGP_YovVb=a+A@mail.gmail.com>
2026-03-04  9:47     ` Hans Hagen via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).