SHA256
1
0
forked from pool/fontforge

7 Commits

Author SHA256 Message Date
45a14c5410 Accepting request 1280084 from M17N
- Update to version 20230101+git59.770356c9b:
  * Add contour draw option to H.Metrics. (#5496)
  * Fix memory corruption in SFUnicodeRanges() (#5537)
  * Bump GitHub CI runner to Ubuntu 22 (#5551)
  * Fix CI for Ubuntu 24 (#5531)
  * Avoid crashes in Python scripts when objects are accessed in
    invalid state (#5483)
  * fix memleak in function utf7toutf8_copy (#5495)
  * Modernize fixed pitch flag computation (#5506)
  * Segfault fix and complete implementation of "Don't generate
    FFTM tables" (#5509)
  * Make SmallCaps() translate symbols, too.  Update
    documentation accordingly. (#5517)
  * Fix function PyFFFont_addSmallCaps. (#5519)
  * Warning rollup (probably some hidden bugs!) from clang trunk
    (#5492)
  * Update mm.c (#5386)
  * fix memleak in function DlgCreate8 (#5491)
  * Fix Python font.appendSFNTName() function (#5494)
  * Allow hyphen and special characters in Feature File glyph names
    (#5358)
  * Update CI runner to macOS 13 (#5482)
  * add math device tables to Python API (#5348)
  * Only install GUI-specific files if ENABLE_GUI is set (#5451)
  * Fix resource leak in unParseTTInstrs (#5476)
  * Use PyConfig API on Python 3.8 (#5404)
  * Use sysconfig for Python module locations (#5423)
  * More crowdin fix
  * Python script shall trigger no asserts (#5410)
  * crowdin: update to java 17 (#5447)

OBS-URL: https://build.opensuse.org/request/show/1280084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=61
2025-05-27 16:49:52 +00:00
b0f8261351 Fix changelog
OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=99
2025-05-26 08:22:59 +00:00
b121b60891 - Update to version 20230101+git59.770356c9b:
* Add contour draw option to H.Metrics. (#5496)
  * Fix memory corruption in SFUnicodeRanges() (#5537)
  * Bump GitHub CI runner to Ubuntu 22 (#5551)
  * Fix CI for Ubuntu 24 (#5531)
  * Avoid crashes in Python scripts when objects are accessed in
    invalid state (#5483)
  * fix memleak in function utf7toutf8_copy (#5495)
  * Modernize fixed pitch flag computation (#5506)
  * Segfault fix and complete implementation of "Don't generate
    FFTM tables" (#5509)
  * Make SmallCaps() translate symbols, too.  Update
    documentation accordingly. (#5517)
  * Fix function PyFFFont_addSmallCaps. (#5519)
  * Warning rollup (probably some hidden bugs!) from clang trunk
    (#5492)
  * Update mm.c (#5386)
  * fix memleak in function DlgCreate8 (#5491)
  * Fix Python font.appendSFNTName() function (#5494)
  * Allow hyphen and special characters in Feature File glyph names
    (#5358)
  * Update CI runner to macOS 13 (#5482)
  * add math device tables to Python API (#5348)
  * Only install GUI-specific files if ENABLE_GUI is set (#5451)
  * Fix resource leak in unParseTTInstrs (#5476)
  * Use PyConfig API on Python 3.8 (#5404)
  * Use sysconfig for Python module locations (#5423)
  * More crowdin fix
  * Python script shall trigger no asserts (#5410)
  * crowdin: update to java 17 (#5447)

OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=98
2025-05-26 08:06:35 +00:00
b99dde5e8f Accepting request 1268125 from M17N
OBS-URL: https://build.opensuse.org/request/show/1268125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=60
2025-04-10 19:57:44 +00:00
e77432f38d Add bugID to previous update log, Move help to gutils helps to avoid not validate strings before launching issue. (CVE-2017-17521, bsc#1073014)
OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=96
2025-04-09 10:36:05 +00:00
0a5fbba259 Accepting request 1226063 from M17N
OBS-URL: https://build.opensuse.org/request/show/1226063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=59
2024-11-25 22:19:45 +00:00
673c75694f - add use-sysconfig-not-distutils.patch: fix build with python 3.13
* Merge/Simplify improvements
- drop fix-return-statement.patch. obsolete
- updated to 20161005 [bsc#1014793]:
  * This release introduces a new icon set, new functionality for
    custom icon selection graphics, support for GlyphOrderAndAliasDB
    typefaces, stroke expansion, handling of CID ranges, and the
- updated to 20150824: This fixes a few bugs, including some in
  U. F. O. kerning classes and FreeType rasterization, and adds
- updated to 20150430: this release includes a few bug fixes,
- also repackage the broken gnulib links to fix build with
  * fixes a few crashes, enhances round-tripping of information in
- remove %requires_ge libpng16-16 as it seems fontforge is not so
- %requires_ge libpng16-16 to avoid
  * removed obsolete fontforge-missing-closedir.diff
  * removed obsolete libpng14.diff
  * Fix various error messages.
  * Remove some obsolete documentation.
  * Technical fixes to stroking code.
  * FontForge was using the wrong MIME type for svg files.
    W3C has changed it and it's now "image/svg+xml" not
  * etc. on
- fix -devel package dependencies
- remove BuildPreRequires
- fix gcc warning for strncat
- install icon

OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=94
2024-11-24 09:08:01 +00:00
9 changed files with 143 additions and 9011 deletions

BIN
20230101.tar.gz (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

17
_service Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/fontforge/fontforge.git</param>
<param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/fontforge/fontforge.git</param>
<param name="changesrevision">770356c9b52c003939a36ed3df711b08805efb3c</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:215082d941d21a78503cb5beaadd25e543270b6429f96bc69c9cd2a16e8af0ad
size 51817486

View File

@@ -1,172 +0,0 @@
commit 216eb14b558df344b206bf82e2bdaf03a1f2f429 (HEAD -> 216eb14b558df344b206bf82e2bdaf03a1f2f429_CVE-2024-25081_CVE-2024-25082)
Author: Peter Kydas <pk@canva.com>
Date: Tue Feb 6 20:03:04 2024 +1100
fix splinefont shell command injection (#5367)
diff -Nura fontforge-20230101/fontforge/splinefont.c fontforge-20230101_new/fontforge/splinefont.c
--- fontforge-20230101/fontforge/splinefont.c 2023-01-01 13:25:21.000000000 +0800
+++ fontforge-20230101_new/fontforge/splinefont.c 2024-03-04 21:23:26.813893591 +0800
@@ -788,11 +788,14 @@
char *Unarchive(char *name, char **_archivedir) {
char *dir = getenv("TMPDIR");
- char *pt, *archivedir, *listfile, *listcommand, *unarchivecmd, *desiredfile;
+ char *pt, *archivedir, *listfile, *desiredfile;
char *finalfile;
int i;
int doall=false;
static int cnt=0;
+ gchar *command[5];
+ gchar *stdoutresponse = NULL;
+ gchar *stderrresponse = NULL;
*_archivedir = NULL;
@@ -827,18 +830,30 @@
listfile = malloc(strlen(archivedir)+strlen("/" TOC_NAME)+1);
sprintf( listfile, "%s/" TOC_NAME, archivedir );
- listcommand = malloc( strlen(archivers[i].unarchive) + 1 +
- strlen( archivers[i].listargs) + 1 +
- strlen( name ) + 3 +
- strlen( listfile ) +4 );
- sprintf( listcommand, "%s %s %s > %s", archivers[i].unarchive,
- archivers[i].listargs, name, listfile );
- if ( system(listcommand)!=0 ) {
- free(listcommand); free(listfile);
- ArchiveCleanup(archivedir);
-return( NULL );
+ command[0] = archivers[i].unarchive;
+ command[1] = archivers[i].listargs;
+ command[2] = name;
+ command[3] = NULL; // command args need to be NULL-terminated
+
+ if ( g_spawn_sync(
+ NULL,
+ command,
+ NULL,
+ G_SPAWN_SEARCH_PATH,
+ NULL,
+ NULL,
+ &stdoutresponse,
+ &stderrresponse,
+ NULL,
+ NULL
+ ) == FALSE) { // did not successfully execute
+ ArchiveCleanup(archivedir);
+ return( NULL );
}
- free(listcommand);
+ // Write out the listfile to be read in later
+ FILE *fp = fopen(listfile, "wb");
+ fwrite(stdoutresponse, strlen(stdoutresponse), 1, fp);
+ fclose(fp);
desiredfile = ArchiveParseTOC(listfile, archivers[i].ars, &doall);
free(listfile);
@@ -847,22 +862,28 @@
return( NULL );
}
- /* I tried sending everything to stdout, but that doesn't work if the */
- /* output is a directory file (ufo, sfdir) */
- unarchivecmd = malloc( strlen(archivers[i].unarchive) + 1 +
- strlen( archivers[i].listargs) + 1 +
- strlen( name ) + 1 +
- strlen( desiredfile ) + 3 +
- strlen( archivedir ) + 30 );
- sprintf( unarchivecmd, "( cd %s ; %s %s %s %s ) > /dev/null", archivedir,
- archivers[i].unarchive,
- archivers[i].extractargs, name, doall ? "" : desiredfile );
- if ( system(unarchivecmd)!=0 ) {
- free(unarchivecmd); free(desiredfile);
- ArchiveCleanup(archivedir);
-return( NULL );
+ command[0] = archivers[i].unarchive;
+ command[1] = archivers[i].extractargs;
+ command[2] = name;
+ command[3] = doall ? "" : desiredfile;
+ command[4] = NULL;
+
+ if ( g_spawn_sync(
+ (gchar*)archivedir,
+ command,
+ NULL,
+ G_SPAWN_SEARCH_PATH,
+ NULL,
+ NULL,
+ &stdoutresponse,
+ &stderrresponse,
+ NULL,
+ NULL
+ ) == FALSE) { // did not successfully execute
+ free(desiredfile);
+ ArchiveCleanup(archivedir);
+ return( NULL );
}
- free(unarchivecmd);
finalfile = malloc( strlen(archivedir) + 1 + strlen(desiredfile) + 1);
sprintf( finalfile, "%s/%s", archivedir, desiredfile );
@@ -885,8 +906,12 @@
char *Decompress(char *name, int compression) {
char *dir = getenv("TMPDIR");
- char buf[1500];
char *tmpfn;
+ gchar *command[4];
+ gint stdout_pipe;
+ gchar buffer[4096];
+ gssize bytes_read;
+ GByteArray *binary_data = g_byte_array_new();
if ( dir==NULL ) dir = P_tmpdir;
tmpfn = malloc(strlen(dir)+strlen(GFileNameTail(name))+2);
@@ -894,11 +919,41 @@
strcat(tmpfn,"/");
strcat(tmpfn,GFileNameTail(name));
*strrchr(tmpfn,'.') = '\0';
- snprintf( buf, sizeof(buf), "%s < %s > %s", compressors[compression].decomp, name, tmpfn );
- if ( system(buf)==0 )
-return( tmpfn );
- free(tmpfn);
-return( NULL );
+
+ command[0] = compressors[compression].decomp;
+ command[1] = "-c";
+ command[2] = name;
+ command[3] = NULL;
+
+ // Have to use async because g_spawn_sync doesn't handle nul-bytes in the output (which happens with binary data)
+ if (g_spawn_async_with_pipes(
+ NULL,
+ command,
+ NULL,
+ G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ &stdout_pipe,
+ NULL,
+ NULL) == FALSE) {
+ //command has failed
+ return( NULL );
+ }
+
+ // Read binary data from pipe and output to file
+ while ((bytes_read = read(stdout_pipe, buffer, sizeof(buffer))) > 0) {
+ g_byte_array_append(binary_data, (guint8 *)buffer, bytes_read);
+ }
+ close(stdout_pipe);
+
+ FILE *fp = fopen(tmpfn, "wb");
+ fwrite(binary_data->data, sizeof(gchar), binary_data->len, fp);
+ fclose(fp);
+ g_byte_array_free(binary_data, TRUE);
+
+ return(tmpfn);
}
static char *ForceFileToHaveName(FILE *file, char *exten) {

View File

@@ -1,3 +1,86 @@
-------------------------------------------------------------------
Mon May 26 06:39:39 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to version 20230101+git59.770356c9b:
* Add contour draw option to H.Metrics. (#5496)
* Fix memory corruption in SFUnicodeRanges() (#5537)
* Bump GitHub CI runner to Ubuntu 22 (#5551)
* Fix CI for Ubuntu 24 (#5531)
* Avoid crashes in Python scripts when objects are accessed in
invalid state (#5483)
* fix memleak in function utf7toutf8_copy (#5495)
* Modernize fixed pitch flag computation (#5506)
* Segfault fix and complete implementation of "Don't generate
FFTM tables" (#5509)
* Make SmallCaps() translate symbols, too. Update
documentation accordingly. (#5517)
* Fix function PyFFFont_addSmallCaps. (#5519)
* Warning rollup (probably some hidden bugs!) from clang trunk
(#5492)
* Update mm.c (#5386)
* fix memleak in function DlgCreate8 (#5491)
* Fix Python font.appendSFNTName() function (#5494)
* Allow hyphen and special characters in Feature File glyph names
(#5358)
* Update CI runner to macOS 13 (#5482)
* add math device tables to Python API (#5348)
* Only install GUI-specific files if ENABLE_GUI is set (#5451)
* Fix resource leak in unParseTTInstrs (#5476)
* Use PyConfig API on Python 3.8 (#5404)
* Use sysconfig for Python module locations (#5423)
* More crowdin fix
* Python script shall trigger no asserts (#5410)
* crowdin: update to java 17 (#5447)
* try fix crowdin
* Fix generated feature file bugs (#5384)
* Defer crowdin update to the end of the pipeline (#5409)
* Fix export of supplementary plane characters in font name to
TTF (#5396)
* Don't attempt to copy anchors into NULL font (#5405)
* Treat FT_PIXEL_MODE_MONO as 2 grey levels (#5379)
* Compare vertical metrics check when generating TTC (#5372)
* Fix data corruption on SFD reading (#5380)
* doc: added missing sudo to installation instructions (#5300)
* Remove `psaltnames` for multi-code-point names (#5305)
* Support suplementary planes in SFD (emojis etc.) (#5364)
* Fix the lists of Windows language IDs (#5359)
* fix splinefont shell command injection (#5367)
* Bulk tester (#5365)
* add `font.style_set_names` attribute to Python API (#5354)
* Fix typos in the FAQ (#5355)
* Autoselect internal WOFF2 format (#5346)
* fix segfault triggered by Python `del c[i:j]` (#5352)
* add `font` attributes, method to Python docs (#5353)
* Always set `usDefaultChar` to 0 (.notdef) (#5242)
* Fix generateFontPostHook being called instead of
generateFontPreHook (#5226)
* nltransform of anchor points (#5345)
* Don't require individual tuple encapsulation in
fontforge.font.bitmapSizes setter (#5138)
* Fix CMake function _get_git_version() (#5342)
* Handle failed iconv conversion. Unhandled execution path was
UB, causing a segfault for me (#5329)
* Fix crash in parsegvar() due to insufficient buffer (#5339)
* Quiet strict prototypes warnings. (#5313)
* harmonizing can now no longer produce zero handles, the
computation of harmonization is now numerically robust (#5262)
* Fix glyph file names uXXXXX (#5333)
* Fix lookup flags parsing (#5338)
* Duplicate libfontforge.dll for "py" and "pyhook" tests. (#5335)
* Use consistent Python in MacOS GitHub runner (#5331)
* Update po files from Croudin sources after fixing problems
* Fix GinHub CI runners (#5328)
* Update local scripts directory (#5180)
- Remove patches already included by upstream:
* fontforge-CVE-2024-25081-CVE-2024-25082.patch
* 642d8a3db6d4bc0e70b429622fdf01ecb09c4c10.patch
* use-sysconfig-not-distutils.patch
-------------------------------------------------------------------
Thu Nov 21 20:31:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add use-sysconfig-not-distutils.patch: fix build with python 3.13
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 5 12:17:37 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Tue Mar 5 12:17:37 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
@@ -93,7 +176,7 @@ Sun Mar 20 21:20:14 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 20220308: - update to 20220308:
* Overhauled resource/appearance management * Overhauled resource/appearance management
* Merge/Simplify improvements * Merge/Simplify improvements
* Updated Unicode support to Unicode 14.0.0 * Updated Unicode support to Unicode 14.0.0
* Add Points Of Inflection / Balance / Harmonize * Add Points Of Inflection / Balance / Harmonize
* Language system tag list/script range/feature list updates * Language system tag list/script range/feature list updates
@@ -102,7 +185,9 @@ Sun Mar 20 21:20:14 UTC 2022 - Dirk Müller <dmueller@suse.com>
* UFO include path is altered, please update your fonts if needed * UFO include path is altered, please update your fonts if needed
* FontForge is now compiled with -Wall by default * FontForge is now compiled with -Wall by default
* Cidmaps are now bundled * Cidmaps are now bundled
- drop fix-return-statement.patch. obsolete * Move help to gutils, help to avoid not validate strings before launching issue.
(CVE-2017-17521, bsc#1073014)
- drop fix-return-statement.patch. obsolete
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 20 10:46:42 UTC 2021 - Dirk Müller <dmueller@suse.com> Sat Feb 20 10:46:42 UTC 2021 - Dirk Müller <dmueller@suse.com>
@@ -250,12 +335,12 @@ Thu Nov 9 19:06:46 UTC 2017 - jmatejek@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 9 14:15:44 UTC 2016 - pgajdos@suse.com Fri Dec 9 14:15:44 UTC 2016 - pgajdos@suse.com
- updated to 20161005 [bsc#1014793]: - updated to 20161005 [bsc#1014793]:
* This release introduces a new icon set, new functionality for * This release introduces a new icon set, new functionality for
custom icon selection graphics, support for GlyphOrderAndAliasDB custom icon selection graphics, support for GlyphOrderAndAliasDB
files, and support for Unicode 9.0. files, and support for Unicode 9.0.
* It also fixes a number of small bugs relating to certain bitmap * It also fixes a number of small bugs relating to certain bitmap
typefaces, stroke expansion, handling of CID ranges, and the typefaces, stroke expansion, handling of CID ranges, and the
user interface. user interface.
- removed upstreamed patches: - removed upstreamed patches:
- propagate-creation-and-modification-times-to-ttf.patch - propagate-creation-and-modification-times-to-ttf.patch
@@ -270,14 +355,14 @@ Tue Jan 26 08:10:44 UTC 2016 - pgajdos@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 16 14:03:36 UTC 2015 - pgajdos@suse.com Wed Dec 16 14:03:36 UTC 2015 - pgajdos@suse.com
- updated to 20150824: This fixes a few bugs, including some in - updated to 20150824: This fixes a few bugs, including some in
U. F. O. kerning classes and FreeType rasterization, and adds U. F. O. kerning classes and FreeType rasterization, and adds
a Korean translation. a Korean translation.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 11 08:36:20 UTC 2015 - pgajdos@suse.com Mon May 11 08:36:20 UTC 2015 - pgajdos@suse.com
- updated to 20150430: this release includes a few bug fixes, - updated to 20150430: this release includes a few bug fixes,
performance enhancements, and refreshed icons. performance enhancements, and refreshed icons.
- download uthash when get-source.sh - download uthash when get-source.sh
- fontforge --version now returns fontforge release version - fontforge --version now returns fontforge release version
@@ -286,7 +371,7 @@ Mon May 11 08:36:20 UTC 2015 - pgajdos@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 1 13:17:09 UTC 2015 - coolo@suse.com Fri May 1 13:17:09 UTC 2015 - coolo@suse.com
- also repackage the broken gnulib links to fix build with - also repackage the broken gnulib links to fix build with
newer libtool newer libtool
------------------------------------------------------------------- -------------------------------------------------------------------
@@ -298,12 +383,12 @@ Mon Apr 20 07:10:42 UTC 2015 - pgajdos@suse.com
Tue Mar 31 09:55:24 UTC 2015 - pgajdos@suse.com Tue Mar 31 09:55:24 UTC 2015 - pgajdos@suse.com
- updated to 20150330: - updated to 20150330:
* fixes a few crashes, enhances round-tripping of information in * fixes a few crashes, enhances round-tripping of information in
certain file formats, and fixes some bad logic certain file formats, and fixes some bad logic
* adds support for fine point adjustment * adds support for fine point adjustment
* etc. see https://github.com/fontforge/fontforge/releases * etc. see https://github.com/fontforge/fontforge/releases
for details for details
- remove %requires_ge libpng16-16 as it seems fontforge is not so - remove %requires_ge libpng16-16 as it seems fontforge is not so
picky anymore picky anymore
- doc is generated - doc is generated
- remove pfaedit compat - remove pfaedit compat
@@ -368,7 +453,7 @@ Tue Apr 16 12:17:30 UTC 2013 - pgajdos@suse.com
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 16 12:05:41 UTC 2013 - pgajdos@suse.com Tue Apr 16 12:05:41 UTC 2013 - pgajdos@suse.com
- %requires_ge libpng16-16 to avoid - %requires_ge libpng16-16 to avoid
'Application built with libpng-1.5.14 but running with 1.6.1' 'Application built with libpng-1.5.14 but running with 1.6.1'
warning when running fontforge warning when running fontforge
@@ -383,8 +468,8 @@ Sun Dec 30 06:44:35 UTC 2012 - dmitry_r@opensuse.org
- Update to 20120731b - Update to 20120731b
* see included changelog.html for details * see included changelog.html for details
* removed obsolete fontforge.py27.diff * removed obsolete fontforge.py27.diff
* removed obsolete fontforge-missing-closedir.diff * removed obsolete fontforge-missing-closedir.diff
* removed obsolete libpng14.diff * removed obsolete libpng14.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 20 20:25:40 UTC 2011 - coolo@suse.com Tue Dec 20 20:25:40 UTC 2011 - coolo@suse.com
@@ -407,14 +492,14 @@ Mon May 16 14:38:39 CEST 2011 - pgajdos@suse.cz
- updated to 20110222: - updated to 20110222:
* Did a lot of work to improve the accuracy in remove overlap. * Did a lot of work to improve the accuracy in remove overlap.
* Fix various error messages. * Fix various error messages.
* Remove some obsolete documentation. * Remove some obsolete documentation.
* Technical fixes to stroking code. * Technical fixes to stroking code.
* Add a miterlimit to stroking code. * Add a miterlimit to stroking code.
* FontForge was using the wrong MIME type for svg files. * FontForge was using the wrong MIME type for svg files.
W3C has changed it and it's now "image/svg+xml" not W3C has changed it and it's now "image/svg+xml" not
"image/svg-xml" or "image/svg". "image/svg-xml" or "image/svg".
* etc. on * etc. on
http://fontforge.sourceforge.net/changelog.html http://fontforge.sourceforge.net/changelog.html
* libpng14.diff and fontforge.py27.diff kept but not needed yet * libpng14.diff and fontforge.py27.diff kept but not needed yet
@@ -443,7 +528,7 @@ Mon Apr 5 12:00:54 UTC 2010 - toms@suse.de
Sat Oct 3 12:16:21 UTC 2009 - crrodriguez@opensuse.org Sat Oct 3 12:16:21 UTC 2009 - crrodriguez@opensuse.org
- fontforge-20090622-1.6: missing call to closedir [bnc#543458] - fontforge-20090622-1.6: missing call to closedir [bnc#543458]
- fix -devel package dependencies - fix -devel package dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 27 16:57:52 CEST 2009 - tiwai@suse.de Mon Jul 27 16:57:52 CEST 2009 - tiwai@suse.de
@@ -490,7 +575,7 @@ Thu Aug 02 16:33:43 CEST 2007 - mfabian@suse.de
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 24 12:49:54 CEST 2007 - coolo@suse.de Tue Jul 24 12:49:54 CEST 2007 - coolo@suse.de
- remove BuildPreRequires - remove BuildPreRequires
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 06 17:06:16 CET 2007 - mfabian@suse.de Tue Feb 06 17:06:16 CET 2007 - mfabian@suse.de
@@ -523,7 +608,7 @@ Fri Nov 17 19:54:59 CET 2006 - mfabian@suse.de
Mon Nov 6 00:28:15 CET 2006 - ro@suse.de Mon Nov 6 00:28:15 CET 2006 - ro@suse.de
- fix permissions on icon file - fix permissions on icon file
- fix gcc warning for strncat - fix gcc warning for strncat
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 17 14:25:48 CEST 2006 - mfabian@suse.de Tue Oct 17 14:25:48 CEST 2006 - mfabian@suse.de
@@ -598,7 +683,7 @@ Wed May 11 12:31:06 CEST 2005 - mfabian@suse.de
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 14 21:27:40 CET 2004 - hvogel@suse.de Tue Dec 14 21:27:40 CET 2004 - hvogel@suse.de
- install icon - install icon
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 11 12:48:59 CET 2004 - ro@suse.de Thu Nov 11 12:48:59 CET 2004 - ro@suse.de
@@ -715,7 +800,7 @@ Tue Apr 10 2001 - Scott Pakin <pakin@uiuc.edu>
- Upgraded from 210301 to 020401. - Upgraded from 210301 to 020401.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 22 2001 Scott Pakin <pakin@uiuc.edu> Thu Mar 22 2001 - Scott Pakin <pakin@uiuc.edu>
- Initial release - Initial release

4
fontforge.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: fontforge
version: 20230101+git59.770356c9b
mtime: 1745220260
commit: 770356c9b52c003939a36ed3df711b08805efb3c

View File

@@ -1,7 +1,7 @@
# #
# spec file for package fontforge # spec file for package fontforge
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,16 @@
Name: fontforge Name: fontforge
Version: 20230101 Version: 20230101+git59.770356c9b
Release: 0 Release: 0
Summary: A Font Editor Summary: A Font Editor
License: GPL-3.0-or-later License: GPL-3.0-or-later
URL: https://fontforge.org/ URL: https://fontforge.org/
Source0: https://github.com/fontforge/fontforge/archive/%{version}.tar.gz Source0: fontforge-20230101+git59.770356c9b.tar.zst
# workaround for bug 930076, imho upstream should fix this # workaround for bug 930076, imho upstream should fix this
# https://github.com/fontforge/fontforge/issues/2270 # https://github.com/fontforge/fontforge/issues/2270
Patch0: fontforge-version.patch Patch0: fontforge-version.patch
Patch1: add-bitmap-transform-support.patch Patch1: add-bitmap-transform-support.patch
# PATCH-FIX-UPSTREAM fontforge-CVE-2024-25081-CVE-2024-25082.patch CVE-2024-25081 CVE-2024-25082 bsc#1220404 bsc#1220405 qzhao@suse.com -- Fix Splinefont shell invocation.
Patch2: fontforge-CVE-2024-25081-CVE-2024-25082.patch
Patch3: https://github.com/fontforge/fontforge/commit/642d8a3db6d4bc0e70b429622fdf01ecb09c4c10.patch
BuildRequires: cairo-devel BuildRequires: cairo-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
@@ -49,7 +46,7 @@ BuildRequires: libxml2-devel
BuildRequires: pango-devel BuildRequires: pango-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
BuildRequires: python3-devel BuildRequires: python3-devel >= 3.8
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: woff2-devel BuildRequires: woff2-devel