Files
cdesktop/cde/programs/dtudcfonted
Lev Kujawski 7010b2c11b Centralize catgets() calls through MsgCat
CDE has relied upon catgets() implementations following a relaxed
interpretation of the XPG internationalization standard that ignored
-1, the standard error value returned by catopen, as the catalog
argument. However, this same behavior causes segmentation faults with
the musl C library.

This patch:

- Centralizes (with the exception of ToolTalk) all calls to catopen(),
  catgets(), and catclose() through MsgCat within the DtSvc library.
- Prevents calls to catgets() and catclose() that rely upon
  undefined behavior.
- Eliminates a number of bespoke catgets() wrappers, including multiple
  redundant caching implementations designed to work around a design
  peculiarity in HP/UX.
- Eases building CDE without XPG internationalization support by providing
  the appropriate macros.
2021-01-31 16:17:13 -07:00
..
2018-08-18 16:37:36 -06:00
2018-08-18 16:37:36 -06:00
2018-08-18 16:37:36 -06:00
2018-08-18 16:37:36 -06:00
2018-08-18 16:37:36 -06:00
2019-10-10 19:59:40 +02:00
2019-10-10 19:59:40 +02:00

$XConsortium: README /main/3 1996/07/04 02:23:02 cde-fuj $
UDC font editor and UDC data exchange utility README


1) Environment

1.1) XLOCALEDIR environment variable

	- If the NLS database ("XLC_LOCALE" files) locates
	in different directory from where specified at building
	time, set the full path name of the correct directory to
	the XLOCALEDIR environment variable.

1.2) Editable Fonts

	- Currently, only jisx0208 fonts in Japanese locale is
	defined in NLS database to have UDC. So the dtudcfonted
	will not show the edit view in other locales than Japanese.

	- If the "fonts.list" file exists in the directories showed
	below, dtudcfonted and dtudcexch read and get directories
	from this file to search fonts.

		/usr/dt/config/
		/usr/dt/config/$LANG
		$DTUDCFONTS/
		$DTUDCFONTS/$LANG

	- If the system place fonts in different directories other
	than listed in this file, you need to add them in it.