From c68d42e3342c3c3f521157756566de57dd476df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 00:30:29 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/fontforge#7c8685957603b3bd7490489d3abd86b4e1a44548 --- .gitignore | 24 + ...set_allowed_backends-before-gdk_init.patch | 27 + ...forge-20200314-fix-glossary.rst-file.patch | 284 +++++++ ...inx-make-changes-to-support-Sphinx-3.patch | 62 ++ fontforge.spec | 696 ++++++++++++++++++ sources | 1 + tests/scripts/generate-font.py | 14 + tests/scripts/generate-sfd.pe | 7 + tests/scripts/generate-ttf.pe | 10 + tests/scripts/get-font-metadata.py | 31 + tests/scripts/run_tests.sh | 23 + tests/tests.yml | 9 + 12 files changed, 1188 insertions(+) create mode 100644 fontforge-20200314-Call-gdk_set_allowed_backends-before-gdk_init.patch create mode 100644 fontforge-20200314-fix-glossary.rst-file.patch create mode 100644 fontforge-20200314-sphinx-make-changes-to-support-Sphinx-3.patch create mode 100644 fontforge.spec create mode 100644 sources create mode 100644 tests/scripts/generate-font.py create mode 100755 tests/scripts/generate-sfd.pe create mode 100755 tests/scripts/generate-ttf.pe create mode 100644 tests/scripts/get-font-metadata.py create mode 100644 tests/scripts/run_tests.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index e69de29..245b9b3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,24 @@ +fontforge_htdocs-20100429.tar.bz2 +fontforge_full-20100501.tar.bz2 +/fontforge_full-20110222.tar.bz2 +/fontforge_htdocs-20110221.tar.bz2 +/fontforge_full-20120731-b.tar.bz2 +/fontforge_htdocs-20120731-b.tar.bz2 +/20140813.tar.gz +/gnulib-2bf7326.tar.gz +/20141230.tar.gz +/20150228.tar.gz +/20150330.tar.gz +/20150430.tar.gz +/20150612.tar.gz +/fontforge-20150824.tar.gz +/fontforge-20160404.tar.gz +/fontforge-20161001.tar.gz +/fontforge-20161004.tar.gz +/fontforge-20161005.tar.gz +/fontforge-20161012.tar.gz +/fontforge-20170731.tar.gz +/gnulib-b324052.tar.gz +/fontforge-20190317.tar.gz +/fontforge-20190413.tar.gz +/fontforge-20200314.tar.gz diff --git a/fontforge-20200314-Call-gdk_set_allowed_backends-before-gdk_init.patch b/fontforge-20200314-Call-gdk_set_allowed_backends-before-gdk_init.patch new file mode 100644 index 0000000..6c1e797 --- /dev/null +++ b/fontforge-20200314-Call-gdk_set_allowed_backends-before-gdk_init.patch @@ -0,0 +1,27 @@ +From ee14a6389d19e2f45219134058e07f10585fa6d3 Mon Sep 17 00:00:00 2001 +From: Jeremy Tan +Date: Thu, 2 Apr 2020 18:03:47 +0800 +Subject: [PATCH] Call gdk_set_allowed_backends before gdk_init + +Fixes #4247 +--- + fontforgeexe/startui.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/fontforgeexe/startui.c b/fontforgeexe/startui.c +index 06f5200a4..114bb7fb6 100644 +--- a/fontforgeexe/startui.c ++++ b/fontforgeexe/startui.c +@@ -1182,8 +1182,8 @@ int fontforge_main( int argc, char **argv ) { + #endif + } + #ifdef FONTFORGE_CAN_USE_GDK +- gdk_init(&argc, &argv); + gdk_set_allowed_backends("win32,quartz,x11"); ++ gdk_init(&argc, &argv); + #endif + ensureDotFontForgeIsSetup(); + #if defined(__MINGW32__) && !defined(_NO_LIBCAIRO) +-- +2.26.0 + diff --git a/fontforge-20200314-fix-glossary.rst-file.patch b/fontforge-20200314-fix-glossary.rst-file.patch new file mode 100644 index 0000000..2d511e7 --- /dev/null +++ b/fontforge-20200314-fix-glossary.rst-file.patch @@ -0,0 +1,284 @@ +--- doc/sphinx/glossary.rst.old 2020-03-14 09:06:49.000000000 +0530 ++++ doc/sphinx/glossary.rst 2020-08-05 12:06:45.574903248 +0530 +@@ -23,13 +23,13 @@ + Both Hebrew and Arabic have optional vowel marks and are called "impure" + abjads. Ancient Phoenician had nothing but consonants and is a "pure" abjad. + +- See Also: :term:`alphabet`, +- :term:`abugida`, :term:`syllabary` and ++ See Also: :term:`Alphabet`, ++ :term:`Abugida`, :term:`Syllabary` and + the relevant `Wikipedia article `__. + + Abugida +- An abugida is somewhere in between an :term:`alphabet` and +- a :term:`syllabary`. The Indic writing systems are ++ An abugida is somewhere in between an :term:`alphabet ` and ++ a :term:`syllabary `. The Indic writing systems are + probably the best known abugidas. + + In most abugidas there are independant glyphs for the consonants, and each +@@ -45,8 +45,8 @@ + An abugida differs from an abjad in that vowels (other than the default) must + be marked in the abugida. + +- See Also: :term:`alphabet`, :term:`abjad`, +- :term:`syllabary` and the relevant ++ See Also: :term:`Alphabet`, :term:`Abjad`, ++ :term:`Syllabary` and the relevant + `Wikipedia article `__. + + Advance Width +@@ -62,8 +62,8 @@ + vowels alike -- and (in theory anyway) all phonemes in a word will be marked + by an appropriate glyph. + +- See Also: :term:`abjad`, :term:`abugida`, +- :term:`syllabary` and the relevant ++ See Also: :term:`Abjad`, :term:`Abugida`, ++ :term:`Syllabary` and the relevant + `Wikipedia article `__. + + Apple Advanced Typography +@@ -83,7 +83,7 @@ + + Ascent + In traditional typography the ascent of a font was the distance from the top +- of a block of type to the :term:`baseline`. ++ of a block of type to the :term:`baseline `. + + Its precise meaning in modern typography seems to vary with different + definers. +@@ -127,7 +127,7 @@ + Black letter + Any of various type families based on medieval handwriting. + +- See also :term:`gothic`. ++ See also :term:`Gothic`. + + BMP + Basic Multilingual Plane +@@ -142,13 +142,13 @@ + (0xE0000-0xEFFFF) + + Bold +- A common font :term:`style`. The stems of the glyphs are ++ A common font :term:`style