Skip to content

Commit d2212a2

Browse files
committed
Libuninameslist version 20260107
Unicode 17 and French Unicode 17
1 parent e50722a commit d2212a2

11 files changed

Lines changed: 1550 additions & 903 deletions

.appveyor.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

ChangeLog

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
- 2026-Jan-07
2+
* French library libuninameslist-fr updated now to Unicode 17.0 and
3+
libuninameslist remains at Unicode 17.0.
4+
* Update README.md.
5+
16
- 2025-Sep-09
27
* libuninameslist updated to Unicode.org NamesList.txt version 17.0
38
as libuninameslist-1.16 and French Unicode ListeDesNoms.txt is at
49
version 16.0 as libuninameslist-fr-1.8.
510
* Lintian tag: shared-library-lacks-prerequisite libuninameslist-fr
6-
* workflows/main.yml update and edite due to churn from 2024...2025
11+
* workflows/main.yml update and edits due to churn from 2024...2025
712

813
- 2025-Jul-14
914
* Unicode 17.0_Beta, this is a preview Beta version for anybody who

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
2525

2626
EXTRA_DIST = LICENSE README.md m4/ax_check_compile_flag.m4 tests/call-test.c \
2727
py/setup.py py/uninameslist.py libuninameslist.3 libuninameslist-fr.3 \
28-
build.sh
28+
build.sh libs.gif
2929

3030
noinst_PROGRAMS = buildnameslist
3131
buildnameslist_SOURCES = buildnameslist.c buildnameslist.h
@@ -76,7 +76,7 @@ NamesList.txt:
7676
$(WGET) "https://www.unicode.org/Public/17.0.0/ucd/NamesList.txt" -O NamesList.txt
7777

7878
ListeDesNoms.txt:
79-
$(WGET) "https://hapax.qc.ca/ListeNoms-16.0.0.txt" -O ListeDesNoms.txt
79+
$(WGET) "https://hapax.qc.ca/ListeNoms.txt-17.0.0.txt" -O ListeDesNoms.txt
8080

8181
# test: run all tests in cwd and subdirs
8282
test: $(TEST_PROGS)

README.md

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
libuninameslist – A Library of Unicode names and annotation data
2-
================================================================
1+
# libuninameslist – A Library of Unicode names and annotation data
2+
33
[![Build status](https://ci.appveyor.com/api/projects/status/qseac73evm9leu0g?svg=true)](https://ci.appveyor.com/project/fontforge/libuninameslist) [![Coverity Scan Build Status](https://scan.coverity.com/projects/793/badge.svg?flat=1)](https://scan.coverity.com/projects/793)
44

55
- [Description](#description)
@@ -9,10 +9,9 @@ libuninameslist – A Library of Unicode names and annotation data
99
- [Added Python Wrapper](#added-python-wrapper)
1010
- [See Also](#see-also)
1111

12-
Description
13-
-----------
12+
## Description
1413

15-
This library is updated for Nameslist.txt ver17.0 and ListeDesNoms.txt ver16.0
14+
This library is updated for Nameslist.txt ver17.0, and ListeNoms.txt ver17.0,
1615
and includes python wrapper 'uninameslist.py'
1716

1817
For latest release, see: https://github.com/fontforge/libuninameslist/releases
@@ -27,10 +26,10 @@ characters.](http://www.unicode.org/Public/UNIDATA/NamesList.html) This library
2726
contains a compiled version of this file so that programs can access this data
2827
quickly and easily.
2928

30-
ListeDesNoms.txt
31-
Is a seperate file which is translated from Nameslist.txt and was outdated for
29+
ListeNoms.txt
30+
Is a separate file which is translated from Nameslist.txt and was outdated for
3231
a period of time but was recently updated by a group of developers who have
33-
updated it up to version 16. This requires a large amount of work by them and
32+
updated it up to version 17. This requires a large amount of work by them and
3433
the Contributors to that file are listed in that file.
3534

3635
These libraries contain very large (sparse) arrays with one entry for each
@@ -141,8 +140,25 @@ strip available, you can run:
141140
$ sudo make install-strip
142141
```
143142

144-
Installation and Build Instructions
145-
-----------------------------------
143+
For a more visual view of what is described above, it looks more like this:
144+
![](libs.gif)
145+
So, if built with `./configure`, then only libuninameslist is built, there is
146+
no libuninameslist-fr, and any function calls to other libraries return nothing.
147+
148+
If built with `./configure --enable-frenchlib`, then both libraries are built.
149+
- Older programs(1,2,3) like FontForge (up to 20120713) or UMap can access
150+
libuninameslist or libuninameslist-fr using older access, or newer function calls.
151+
- Newer programs(4) can access all libraries through libuninameslist
152+
153+
Last, but not least, do not mix and match. If you build libuninameslist with
154+
`./configure --enable-frenchlib`, you also need to install libuninameslist-fr
155+
since libuninameslist expects libuninameslist-fr to exist. If you build with
156+
`./configure`, then libuninameslist uses internal stub functions to return NULL
157+
and does not look for libuninameslist-fr; in this case, you can also have
158+
libuninameslist-fr installed too if you want (Program4 can access libuninameslist
159+
but cannot access libuninameslist-fr through libuninameslist).
160+
161+
## Installation and Build Instructions
146162

147163
Download a tagged release version from https://github.com/fontforge/libuninameslist/releases
148164
```bash
@@ -180,8 +196,7 @@ $
180196
NOTE: Users who do not have autoconf and automake available will want to
181197
download the '-dist-' version found in the releases directory.
182198

183-
Optional French Library
184-
-----------------------
199+
## Optional French Library
185200

186201
The French library was build as a separate library to maintain backwards with
187202
older (...2012) versions of FontForge. If you want to add libuninameslist-fr,
@@ -214,8 +229,7 @@ on the French library, while at the same time older programs (like older
214229
FontForge) would load these independently (the dependency is to allow for
215230
substitutions if/where/when necessary).
216231

217-
Added Python Wrapper
218-
--------------------
232+
## Added Python Wrapper
219233

220234
A 'uninameslist.py' Python wrapper is provided for users that want quick
221235
NamesList.txt access using python. To do this, you need to first build and
@@ -248,7 +262,7 @@ $ su
248262
$
249263
```
250264

251-
Note, some operating systems may need to use './configure --prefix=/usr'
265+
NOTE: Some operating systems may need to use './configure --prefix=/usr'
252266

253267
The Python wrapper exposes the following library functions and symbols:
254268

@@ -267,8 +281,7 @@ The Python wrapper exposes the following library functions and symbols:
267281
Blocks can be iterated over to yield all characters encoded in them.
268282

269283

270-
See Also
271-
--------
284+
## See Also
272285

273286
- [FontForge Users](https://sourceforge.net/p/fontforge/mailman/fontforge-users/) - Discussion area for users.
274287
- [FontForge](http://github.com/fontforge/fontforge/) - font editor application that this library was made for.

buildnameslist.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ static const char *lgb[2] = { "UNICODE_EN_BLOCK_MAX", "UNICODE_FR_BLOCK_MAX" };
4141
static const char *lgv[2] = { NL_VERSION, NFR_VERSION };
4242

4343
static int printcopyright2credits(FILE *out) {
44-
fprintf( out, "; Date : 2025-01-24, 15:49:39 TUC\n;\n");
45-
fprintf( out, "; Standard Unicode 16.0.0\n");
44+
fprintf( out, "; Date : 2025-10-04, 11:41:38 UTC\n;\n");
45+
fprintf( out, "; Standard Unicode 17.0.0\n");
4646
fprintf( out, "; Liste des noms des caractères (version en langue française)\n;\n");
4747
fprintf( out, "; Le Consortium Unicode entretient une collaboration étroite\n");
4848
fprintf( out, ";\tet une liaison officielle avec le groupe de travail qui élabore\n");
49-
fprintf( out, ";\tla norme internationale ISO/CEI 10646. La version 16.0 du standard Unicode\n");
50-
fprintf( out, ";\tintègre 5.185 nouveaux caractères (dont 3.995 hiéroglyphes égyptiens),\n");
51-
fprintf( out, ";\tportant le total à 154.998 caractères.\n;\n");
49+
fprintf( out, ";\tla norme internationale ISO/CEI 10646. La version 17.0 du standard Unicode\n");
50+
fprintf( out, ";\tintègre 4.803 nouveaux caractères (dont 4.316 idéogrammes CJC),\n");
51+
fprintf( out, ";\tportant le total à 159.801 caractères.\n;\n");
5252
fprintf( out, "; Le présent fichier peut être utilisé librement. Toutefois, aucune\n");
5353
fprintf( out, ";\tmodification n’y est autorisée ; toutes les copies doivent être\n");
5454
fprintf( out, ";\trigoureusement identiques au fichier original.\n;\n");
5555
fprintf( out, "; Le Consortium Unicode n’est pas responsable des erreurs ou omissions\n");
5656
fprintf( out, ";\tdans ce fichier.\n;\n");
5757
fprintf( out, "; Version originale (en anglais) de la liste des noms des caractères :\n");
58-
fprintf( out, ";\thttps://www.unicode.org/Public/16.0.0/ucd/NamesList.txt\n;\n");
58+
fprintf( out, ";\thttps://www.unicode.org/Public/17.0.0/ucd/NamesList.txt\n;\n");
5959
fprintf( out, "; Contributions à la version en langue française :\n;\n");
6060
fprintf( out, ";\tJacques André, France\n");
6161
fprintf( out, ";\tPatrick Andries, Canada (Québec)\n");

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ AC_PREREQ([2.69])
44
#-------------------------------------------
55
# PackageTimestamp, major version, minor version, and Nameslist.txt version
66
# Libraries have a "package" version of the form major.minor.micro.
7-
m4_define([uninameslist_package_stamp], [20250909]) dnl yyyymmdd
7+
m4_define([uninameslist_package_stamp], [20260107]) dnl yyyymmdd
88
m4_define([uninameslist_major_version], [17]) dnl Nameslist.txt
99
m4_define([uninameslist_minor_version], [0])
1010
m4_define([uninameslist_nameslist_ver], [uninameslist_major_version.uninameslist_minor_version])
@@ -17,11 +17,11 @@ m4_define([uninameslist_libver],
1717

1818
# These values below are kept for backwards compatibility with older programs
1919
# that are using the French namesList. This increments with ListeDesNoms.txt.
20-
m4_define([fr_major_version], [16]) dnl latest ListeDesNoms.txt = ver16.0
20+
m4_define([fr_major_version], [17]) dnl latest ListeDesNoms.txt = ver16.0
2121
m4_define([fr_minor_version], [0])
2222
m4_define([uninameslist_fr_nameslist_ver], [fr_major_version.fr_minor_version])
2323
m4_define([uninameslist_fr_current], [1])
24-
m4_define([uninameslist_fr_revision],[8])
24+
m4_define([uninameslist_fr_revision],[9])
2525
m4_define([uninameslist_fr_age], [0])
2626
m4_define([uninameslist_fr_libver],
2727
[uninameslist_fr_current:uninameslist_fr_revision:uninameslist_fr_age])

libs.gif

21.8 KB
Loading

libuninameslist.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ datarootdir=@datarootdir@
66
mandir=@mandir@
77

88
Name: libuninameslist
9-
Description: Unicode Names and Annotations List Library
9+
Description: Unicode Names and Annotations List Library (NamesList.txt=@NL_VERSION@)
1010
URL: https://github.com/fontforge/libuninameslist/releases
1111
Version: @VERSION@
1212
Libs: -L${libdir} @LIBUNINAMESLIST_PKGCONFIG_LIBS@

0 commit comments

Comments
 (0)