Files
Caolán McNamara dce3608001 afdko: upgrade to 5.0.1
txNew, txFree and doSingleFileSet are public now, so the extern_tx
patches go away.

The mergeFonts crash fix is merged upstream.

The noverbose patch is replaced by a SAL logger installed through
slogger::getLogger.

A new fatal-callback patch lets fatal errors raise exceptions, which
appSpecificFree used to do.

afdko 5.0 replaces makeotfexe with addfeatures, drops the typecomp
Type 1 to CFF converter, and rewrites most of c/shared in C++.

hotconv now only reads CFF, so makeotf() first converts its Type 1 input
to bare CFF with tx, the same step the upstream makeotf driver script
performs.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I1e5b6ac8413eb66d81034f4f1d0b7f2e46e12233
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/4251
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 6c40019917bd6e88f6b54d0a2d53d64729c64166)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207285
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-06-26 09:17:58 +02:00

26 lines
661 B
C++

/*
* AFDKO Version Implementation
*
* Static replacement for the cmake-generated afdko_version.cpp. Keep the
* version here in sync with AFDKO_TARBALL in download.lst.
*/
#include "afdko_version.h"
#include <string.h>
#include <stdlib.h>
static const char build_version[] = "5.0.1";
/* Mutable version pointer - initialized by init_fdk_version() */
char *FDK_VERSION = NULL;
/* Initialize FDK_VERSION with a malloc'd copy */
void init_fdk_version(void) {
if (FDK_VERSION == NULL) {
FDK_VERSION = (char *)malloc(strlen(build_version) + 1);
if (FDK_VERSION != NULL) {
strcpy(FDK_VERSION, build_version);
}
}
}