1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 20:50:07 +00:00

FindProgDir is FindProgRoot in fontforge 20230101

This commit is contained in:
Pablo González L 2023-05-14 15:02:48 -04:00
parent 56db76d1ab
commit ed6528859b

View File

@ -19,7 +19,7 @@
#include "SignalHandler.h"
#include "ffw.h" // needed for:
#include "gfile.h" // FindProgDir
#include "gfile.h" // FindProgDir => FindProgRoot in 20230101
#include "fontforge/autowidth.h" // FVRemoveKerns
#include "fontforge/bitmapchar.h" // SFReplaceEncodingBDFProps
#include "fontforge/cvimages.h" // FVImportImages
@ -71,7 +71,7 @@ void ffw_init(const char* progPath, int debug)
{
ffwSetAction("initialize");
char *localProgPath = strdup(progPath);
FindProgDir(localProgPath);
FindProgRoot(localProgPath);
InitSimpleStuff();
if ( default_encoding==NULL )
default_encoding=FindOrMakeEncoding("ISO8859-1");