-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update fontforge FindOrMakeEncoding patch
- Loading branch information
1 parent
ec949b6
commit 65d3803
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 8 additions & 11 deletions
19
fontforge/patches/fontforgeexe-startnoui.FindOrMakeEncoding.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
--- startnoui.c 2017-07-22 08:00:39.126236006 +0300 | ||
+++ startnoui.c 2023-11-02 14:20:43.522000000 +0200 | ||
@@ -106,8 +106,8 @@ | ||
bindtextdomain("FontForge", getLocaleDir()); | ||
textdomain("FontForge"); | ||
+++ startnoui.c 2023-11-02 15:42:45.446000000 +0200 | ||
@@ -27,6 +27,7 @@ | ||
#include "fontforgevw.h" | ||
#include "scripting.h" | ||
#include "start.h" | ||
+#include "encoding.h" | ||
|
||
- if ( default_encoding==NULL ) | ||
- default_encoding=FindOrMakeEncoding("ISO8859-1"); | ||
+ //if ( default_encoding==NULL ) | ||
+ //default_encoding=FindOrMakeEncoding("ISO8859-1"); | ||
if ( default_encoding==NULL ) | ||
default_encoding=&custom; /* In case iconv is broken */ | ||
CheckIsScript(argc,argv); /* Will run the script and exit if it is a script */ | ||
#ifndef _NO_LIBUNICODENAMES | ||
#include <libunicodenames.h> /* need to open a database when we start */ |