Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libraqm for openSUSE:Factory checked in at 2023-04-28 16:23:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libraqm (Old) and /work/SRC/openSUSE:Factory/.libraqm.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libraqm" Fri Apr 28 16:23:36 2023 rev:8 rq:1083361 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libraqm/libraqm.changes 2023-01-29 14:31:31.113795557 +0100 +++ /work/SRC/openSUSE:Factory/.libraqm.new.1533/libraqm.changes 2023-04-28 16:24:33.370426227 +0200 @@ -1,0 +2,6 @@ +Thu Apr 27 22:27:32 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.10.1: + * Make combining marks always inherit the script of their base. + +------------------------------------------------------------------- Old: ---- raqm-0.10.0.tar.xz New: ---- raqm-0.10.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libraqm.spec ++++++ --- /var/tmp/diff_new_pack.tRvz5b/_old 2023-04-28 16:24:33.818428842 +0200 +++ /var/tmp/diff_new_pack.tRvz5b/_new 2023-04-28 16:24:33.822428866 +0200 @@ -18,7 +18,7 @@ %define sover 0 Name: libraqm -Version: 0.10.0 +Version: 0.10.1 Release: 0 Summary: Complex Textlayout Library License: MIT ++++++ raqm-0.10.0.tar.xz -> raqm-0.10.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/.ci/deploy-docs.sh new/raqm-0.10.1/.ci/deploy-docs.sh --- old/raqm-0.10.0/.ci/deploy-docs.sh 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/.ci/deploy-docs.sh 2023-04-12 19:44:48.000000000 +0200 @@ -11,7 +11,11 @@ git fetch origin git checkout -b gh-pages -t origin/gh-pages -cp build/docs/html/* . +ls * + +rm -rf subprojects + +cp -v build/docs/html/* . rm -rf build ls * git add -A . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/COPYING new/raqm-0.10.1/COPYING --- old/raqm-0.10.0/COPYING 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/COPYING 2023-04-12 19:44:48.000000000 +0200 @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright © 2015 Information Technology Authority (ITA) <f...@ita.gov.om> -Copyright © 2016-2022 Khaled Hosny <kha...@aliftype.com> +Copyright © 2016-2023 Khaled Hosny <kha...@aliftype.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/NEWS new/raqm-0.10.1/NEWS --- old/raqm-0.10.0/NEWS 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/NEWS 2023-04-12 19:44:48.000000000 +0200 @@ -1,3 +1,38 @@ +Overview of changes leading to 0.10.1 +Wednesday, April 12, 2023 +==================================== + +Make combining marks always inherit the script of their base. + +Overview of changes leading to 0.10.0 +Wednesday, January 11, 2023 +==================================== + +Fix font feature ranges. + +Fix resolved direction for all-neutral text. + +Implement letter and word spacing support. + +New API: + * raqm_set_text_utf16 + +Overview of changes leading to 0.9.0 +Sunday, January 30, 2022 +==================================== + +Raise the minimum versions of Raqm dependencies: no longer conditionally +enabling any features based on specific dependency version. + +raqm_t objects can now be reused by calling raqm_clear_contents() before +re-use, to potentially reduce the number memory allocations. + +Don't hardcode python3 in tests. + +New API: + * raqm_set_freetype_load_flags_range + * raqm_clear_contents + Overview of changes leading to 0.8.0 Monday, December 13, 2021 ==================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/README.md new/raqm-0.10.1/README.md --- old/raqm-0.10.0/README.md 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/README.md 2023-04-12 19:44:48.000000000 +0200 @@ -81,5 +81,5 @@ [1]: https://github.com/fribidi/fribidi [2]: https://github.com/Tehreer/SheenBidi [3]: https://github.com/harfbuzz/harfbuzz -[4]: https://www.freetype.org +[4]: https://freetype.org/ [5]: https://www.gtk.org/gtk-doc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/docs/meson.build new/raqm-0.10.1/docs/meson.build --- old/raqm-0.10.0/docs/meson.build 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/docs/meson.build 2023-04-12 19:44:48.000000000 +0200 @@ -1,25 +1,27 @@ gtkdoc = find_program('gtkdoc-scan', required: false) if not gtkdoc.found() - error('MESON_SKIP_TEST gtkdoc not found.') + error('MESON_SKIP_TEST gtkdoc not found.') endif -version_xml = configure_file(input : 'version.xml.in', - output : 'version.xml', - configuration : version_h) +version_xml = configure_file( + input: 'version.xml.in', + output: 'version.xml', + configuration: version_h, +) gnome = import('gnome') gnome.gtkdoc( - 'raqm', - main_xml : 'raqm-docs.xml', - src_dir : [ - meson.project_source_root() / 'src', - meson.project_build_root() / 'src', - ], - ignore_headers : ['config.h'], - content_files : [version_xml], - mkdb_args : ['--xml-mode', '--output-format=xml'], - install : true, - scan_args : ['--ignore-decorators=RAQM_API'], - check : true, + 'raqm', + main_xml: 'raqm-docs.xml', + src_dir: [ + meson.project_source_root() / 'src', + meson.project_build_root() / 'src', + ], + ignore_headers: ['config.h'], + content_files: [version_xml], + mkdb_args: ['--xml-mode', '--output-format=xml'], + install: true, + scan_args: ['--ignore-decorators=RAQM_API'], + check: true, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/docs/raqm-docs.xml new/raqm-0.10.1/docs/raqm-docs.xml --- old/raqm-0.10.0/docs/raqm-docs.xml 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/docs/raqm-docs.xml 2023-04-12 19:44:48.000000000 +0200 @@ -22,39 +22,39 @@ <title>API Index</title> <xi:include href="xml/api-index-full.xml"/> </index> - <index id="api-index-0-1" role="0.1"> + <index id="api-index-0-1"> <title>Index of new symbols in 0.1.x</title> <xi:include href="xml/api-index-0.1.xml"/> </index> - <index id="api-index-0-2" role="0.2"> + <index id="api-index-0-2"> <title>Index of new symbols in 0.2.x</title> <xi:include href="xml/api-index-0.2.xml"/> </index> - <index id="api-index-0-3" role="0.3"> + <index id="api-index-0-3"> <title>Index of new symbols in 0.3.x</title> <xi:include href="xml/api-index-0.3.xml"/> </index> - <index id="api-index-0-6" role="0.6"> + <index id="api-index-0-6"> <title>Index of new symbols in 0.6.x</title> <xi:include href="xml/api-index-0.6.xml"/> </index> - <index id="api-index-0-7" role="0.7"> + <index id="api-index-0-7"> <title>Index of new symbols in 0.7.x</title> <xi:include href="xml/api-index-0.7.xml"/> </index> - <index id="api-index-0-8" role="0.8"> + <index id="api-index-0-8"> <title>Index of new symbols in 0.8.x</title> <xi:include href="xml/api-index-0.8.xml"/> </index> - <index id="api-index-0-9" role="0.9"> + <index id="api-index-0-9"> <title>Index of new symbols in 0.9.x</title> <xi:include href="xml/api-index-0.9.xml"/> </index> - <index id="api-index-0-10" role="0.10"> + <index id="api-index-0-10"> <title>Index of new symbols in 0.10.x</title> <xi:include href="xml/api-index-0.10.xml"/> </index> - <!--index id="deprecated-api-index" role="deprecated"> + <!--index id="deprecated-api-index"> <title>Index of deprecated API</title> <xi:include href="xml/api-index-deprecated.xml"/> </index--> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/meson.build new/raqm-0.10.1/meson.build --- old/raqm-0.10.0/meson.build 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/meson.build 2023-04-12 19:44:48.000000000 +0200 @@ -1,10 +1,12 @@ -project('raqm', 'c', - version : '0.10.0', - default_options : [ - 'c_std=c99', - 'cpp_std=c++11', - ], - meson_version: '>= 0.56.0', +project( + 'raqm', + 'c', + version: '0.10.1', + default_options: [ + 'c_std=c99', + 'cpp_std=c++11', + ], + meson_version: '>= 0.56.0', ) raqm_version = meson.project_version().split('.') @@ -19,46 +21,70 @@ freetype = dependency('', required: false) if cc.get_argument_syntax() == 'msvc' - freetype = dependency('freetype', version : '>= @0@'.format(freetype_version[1]), - method: 'cmake', - required: false) - - if not freetype.found() - freetype_lib = cc.find_library('freetype', - has_headers: ['freetype/freetype.h'], - required: false) - if cc.has_function('FT_Reference_Face', dependencies : freetype_lib) - freetype = freetype_lib - else - message('Your FreeType2 installation is too old, falling back...') + freetype = dependency( + 'freetype', + version: '>= @0@'.format(freetype_version[1]), + method: 'cmake', + required: false, + ) + + if not freetype.found() + freetype_lib = cc.find_library( + 'freetype', + has_headers: ['freetype/freetype.h'], + required: false, + ) + if cc.has_function('FT_Reference_Face', dependencies: freetype_lib) + freetype = freetype_lib + else + message('Your FreeType2 installation is too old, falling back...') + endif endif - endif endif if not freetype.found() - freetype = dependency('freetype2', version : '>= @0@'.format(freetype_version[0]), - method: 'pkg-config', - fallback : ['freetype2', 'freetype_dep'], - default_options : ['png=disabled', 'bzip2=disabled', - 'zlib=disabled', 'harfbuzz=disabled']) + freetype = dependency( + 'freetype2', + version: '>= @0@'.format(freetype_version[0]), + method: 'pkg-config', + fallback: ['freetype2', 'freetype_dep'], + default_options: [ + 'png=disabled', + 'bzip2=disabled', + 'zlib=disabled', + 'harfbuzz=disabled', + ], + ) endif -harfbuzz = dependency('harfbuzz', version : '>= 3.0.0', - fallback : ['harfbuzz', 'libharfbuzz_dep'], - default_options : ['freetype=enabled', - 'glib=disabled', 'gobject=disabled', - 'cairo=disabled', 'icu=disabled', - 'tests=disabled']) +harfbuzz = dependency( + 'harfbuzz', + version: '>= 3.0.0', + fallback: ['harfbuzz', 'libharfbuzz_dep'], + default_options: [ + 'freetype=enabled', + 'glib=disabled', + 'gobject=disabled', + 'cairo=disabled', + 'icu=disabled', + 'tests=disabled', + ], +) -fribidi = dependency('', required : false) -sheenbidi = dependency('', required : false) +fribidi = dependency('', required: false) +sheenbidi = dependency('', required: false) if get_option('sheenbidi') - sheenbidi = dependency('sheenbidi', - fallback : ['sheenbidi', 'sheenbidi_dep']) + sheenbidi = dependency( + 'sheenbidi', + fallback: ['sheenbidi', 'sheenbidi_dep'], + ) else - fribidi = dependency('fribidi', version : '>= 1.0.6', - fallback : ['fribidi', 'libfribidi_dep'], - default_options : ['docs=false', 'tests=false']) + fribidi = dependency( + 'fribidi', + version: '>= 1.0.6', + fallback: ['fribidi', 'libfribidi_dep'], + default_options: ['docs=false', 'tests=false'], + ) endif deps = [freetype, harfbuzz, fribidi, sheenbidi] @@ -66,16 +92,16 @@ subdir('src') subdir('tests') if get_option('docs') - subdir('docs') + subdir('docs') endif pkg = import('pkgconfig') pkg.generate( - filebase : meson.project_name(), - version : meson.project_version(), - name : meson.project_name(), - description : 'A library for complex text layout', - url : 'https://github.com/HOST-Oman/libraqm', - libraries : libraqm, + filebase: meson.project_name(), + version: meson.project_version(), + name: meson.project_name(), + description: 'A library for complex text layout', + url: 'https://github.com/HOST-Oman/libraqm', + libraries: libraqm, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/meson_options.txt new/raqm-0.10.1/meson_options.txt --- old/raqm-0.10.0/meson_options.txt 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/meson_options.txt 2023-04-12 19:44:48.000000000 +0200 @@ -1,9 +1,13 @@ -option('docs', - description: 'Build API reference using GTK-Doc', - type: 'boolean', - value: false) +option( + 'docs', + description: 'Build API reference using GTK-Doc', + type: 'boolean', + value: false, +) -option('sheenbidi', - description: 'Use SheenBidi instead of Fribidi', - type: 'boolean', - value: false) +option( + 'sheenbidi', + description: 'Use SheenBidi instead of Fribidi', + type: 'boolean', + value: false, +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/src/meson.build new/raqm-0.10.1/src/meson.build --- old/raqm-0.10.0/src/meson.build 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/src/meson.build 2023-04-12 19:44:48.000000000 +0200 @@ -1,16 +1,19 @@ cc = meson.get_compiler('c') config_h = configuration_data() + if cc.get_argument_syntax() == 'msvc' - library_type = get_option('default_library') - if library_type == 'shared' or library_type == 'both' - config_h.set('RAQM_API', '__declspec (dllexport)') - endif + library_type = get_option('default_library') + if library_type == 'shared' or library_type == 'both' + config_h.set('RAQM_API', '__declspec (dllexport)') + endif endif + if sheenbidi.found() - config_h.set('RAQM_SHEENBIDI', 1) + config_h.set('RAQM_SHEENBIDI', 1) endif -configure_file(output : 'config.h', configuration : config_h) + +configure_file(output: 'config.h', configuration: config_h) version_h = configuration_data() version_h.set('RAQM_VERSION_MAJOR', raqm_version[0].to_int()) @@ -19,32 +22,32 @@ version_h.set('RAQM_VERSION', meson.project_version()) configure_file( - input : 'raqm-version.h.in', - output : 'raqm-version.h', - configuration : version_h, - install: true, - install_dir: join_paths(get_option('includedir')) + input: 'raqm-version.h.in', + output: 'raqm-version.h', + configuration: version_h, + install: true, + install_dir: join_paths(get_option('includedir')), ) raqm_headers = files('raqm.h') install_headers(raqm_headers) libraqm = library( - 'raqm', - 'raqm.c', - 'raqm.h', - version : meson.project_version(), - dependencies : deps, - c_args : ['-DHAVE_CONFIG_H'], - install : true, + 'raqm', + 'raqm.c', + 'raqm.h', + version: meson.project_version(), + dependencies: deps, + c_args: ['-DHAVE_CONFIG_H'], + install: true, ) libraqm_test = static_library( - 'raqm-test', - 'raqm.c', - 'raqm.h', - dependencies : deps, - c_args : ['-DRAQM_TESTING', '-DHAVE_CONFIG_H'], - install : false, + 'raqm-test', + 'raqm.c', + 'raqm.h', + dependencies: deps, + c_args: ['-DRAQM_TESTING', '-DHAVE_CONFIG_H'], + install: false, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/src/raqm.c new/raqm-0.10.1/src/raqm.c --- old/raqm-0.10.0/src/raqm.c 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/src/raqm.c 2023-04-12 19:44:48.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright © 2015 Information Technology Authority (ITA) <f...@ita.gov.om> - * Copyright © 2016-2022 Khaled Hosny <kha...@aliftype.com> + * Copyright © 2016-2023 Khaled Hosny <kha...@aliftype.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -1428,7 +1428,7 @@ * * Since: 0.8 */ -RAQM_API raqm_direction_t +raqm_direction_t raqm_get_par_resolved_direction (raqm_t *rq) { if (!rq) @@ -1451,7 +1451,7 @@ * * Since: 0.8 */ -RAQM_API raqm_direction_t +raqm_direction_t raqm_get_direction_at_index (raqm_t *rq, size_t index) { @@ -2017,6 +2017,22 @@ #define STACK_IS_EMPTY(script) ((script)->size <= 0) #define IS_OPEN(pair_index) (((pair_index) & 1) == 0) +static hb_script_t +_raqm_unicode_script (hb_codepoint_t u) +{ + static hb_unicode_funcs_t* unicode_funcs; + + unicode_funcs = hb_unicode_funcs_get_default (); + + /* Make combining marks inherit the script of their bases, regardless of + * their own script. + */ + if (hb_unicode_general_category (unicode_funcs, u) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) + return HB_SCRIPT_INHERITED; + + return hb_unicode_script (unicode_funcs, u); +} + /* Resolve the script for each character in the input string, if the character * script is common or inherited it takes the script of the character before it * except paired characters which we try to make them use the same script. We @@ -2029,10 +2045,9 @@ int last_set_index = -1; hb_script_t last_script = HB_SCRIPT_INVALID; _raqm_stack_t *stack = NULL; - hb_unicode_funcs_t* unicode_funcs = hb_unicode_funcs_get_default (); for (size_t i = 0; i < rq->text_len; ++i) - rq->text_info[i].script = hb_unicode_script (unicode_funcs, rq->text[i]); + rq->text_info[i].script = _raqm_unicode_script (rq->text[i]); #ifdef RAQM_TESTING RAQM_TEST ("Before script detection:\n"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/src/raqm.h new/raqm-0.10.1/src/raqm.h --- old/raqm-0.10.0/src/raqm.h 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/src/raqm.h 2023-04-12 19:44:48.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright © 2015 Information Technology Authority (ITA) <f...@ita.gov.om> - * Copyright © 2016-2022 Khaled Hosny <kha...@aliftype.com> + * Copyright © 2016-2023 Khaled Hosny <kha...@aliftype.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to Binary files old/raqm-0.10.0/tests/fonts/sha1sum/83db7d61f9292c18c951662f254f4ad038e41639.otf and new/raqm-0.10.1/tests/fonts/sha1sum/83db7d61f9292c18c951662f254f4ad038e41639.otf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/tests/meson.build new/raqm-0.10.1/tests/meson.build --- old/raqm-0.10.0/tests/meson.build 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/tests/meson.build 2023-04-12 19:44:48.000000000 +0200 @@ -1,76 +1,78 @@ python3 = import('python').find_installation() raqm_test = executable( - 'raqm-test', - 'raqm-test.c', - include_directories : include_directories(['../src']), - link_with : libraqm_test, - dependencies : deps, - install : false, + 'raqm-test', + 'raqm-test.c', + include_directories: include_directories(['../src']), + link_with: libraqm_test, + dependencies: deps, + install: false, ) tests = [ - 'buffer-flags-1.test', - 'cursor-position-1.test', - 'cursor-position-2.test', - 'cursor-position-3.test', - 'cursor-position-4.test', - #'cursor-position-GB3.test', - 'cursor-position-GB4.test', - 'cursor-position-GB5.test', - 'cursor-position-GB8a.test', - 'cursor-position-GB9.test', - 'cursor-position-GB9a.test', - 'direction-ltr-1.test', - 'direction-ltr-2.test', - 'direction-ltr-3.test', - 'direction-ltr-4.test', - 'direction-ltr-5.test', - 'direction-neutral-1.test', - 'direction-rtl-1.test', - 'direction-rtl-2.test', - 'direction-rtl-3.test', - 'direction-rtl-4.test', - 'direction-rtl-5.test', - 'direction-ttb-1.test', - 'direction-ttb-2.test', - 'empty-text.test', - 'features-arabic.test', - 'features-kerning.test', - 'features-ligature.test', - 'invisible-glyph-explicit.test', - 'invisible-glyph-hidden.test', - 'invisible-glyph-space.test', - 'languages-sr-ru.test', - 'languages-sr.test', - 'letter-and-wordspacing.test', - 'multi-fonts-1.test', - 'multi-fonts-2.test', - 'scripts-backward-ltr.test', - 'scripts-backward-rtl.test', - 'scripts-backward.test', - 'scripts-common.test', - 'scripts-forward-ltr.test', - 'scripts-forward-rtl.test', - 'scripts-forward.test', - 'test-1.test', - 'test-2.test', - 'test-3.test', - 'test-4.test', - 'test-5.test', - 'xyoffset.test', + 'buffer-flags-1.test', + 'cursor-position-1.test', + 'cursor-position-2.test', + 'cursor-position-3.test', + 'cursor-position-4.test', + #'cursor-position-GB3.test', + 'cursor-position-GB4.test', + 'cursor-position-GB5.test', + 'cursor-position-GB8a.test', + 'cursor-position-GB9.test', + 'cursor-position-GB9a.test', + 'direction-ltr-1.test', + 'direction-ltr-2.test', + 'direction-ltr-3.test', + 'direction-ltr-4.test', + 'direction-ltr-5.test', + 'direction-neutral-1.test', + 'direction-rtl-1.test', + 'direction-rtl-2.test', + 'direction-rtl-3.test', + 'direction-rtl-4.test', + 'direction-rtl-5.test', + 'direction-ttb-1.test', + 'direction-ttb-2.test', + 'empty-text.test', + 'features-arabic.test', + 'features-kerning.test', + 'features-ligature.test', + 'invisible-glyph-explicit.test', + 'invisible-glyph-hidden.test', + 'invisible-glyph-space.test', + 'languages-sr-ru.test', + 'languages-sr.test', + 'letter-and-wordspacing.test', + 'multi-fonts-1.test', + 'multi-fonts-2.test', + 'scripts-backward-ltr.test', + 'scripts-backward-rtl.test', + 'scripts-backward.test', + 'scripts-common.test', + 'scripts-combinig-marks.test', + 'scripts-forward-ltr.test', + 'scripts-forward-rtl.test', + 'scripts-forward.test', + 'test-1.test', + 'test-2.test', + 'test-3.test', + 'test-4.test', + 'test-5.test', + 'xyoffset.test', ] foreach filename : tests - testname = filename.split('.')[0] + testname = filename.split('.')[0] - test(testname, - python3, - args : [ - files('runtest.py'), - meson.current_source_dir(), - raqm_test, - join_paths(meson.current_source_dir(), filename), - ], - ) + test( + testname, + python3, + args: [ + files('runtest.py'), + meson.current_source_dir(), + raqm_test, + join_paths(meson.current_source_dir(), filename), + ], + ) endforeach diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/tests/raqm-test.c new/raqm-0.10.1/tests/raqm-test.c --- old/raqm-0.10.0/tests/raqm-test.c 2023-01-11 15:47:20.000000000 +0100 +++ new/raqm-0.10.1/tests/raqm-test.c 2023-04-12 19:44:48.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright © 2015 Information Technology Authority (ITA) <f...@ita.gov.om> - * Copyright © 2016-2022 Khaled Hosny <kha...@aliftype.com> + * Copyright © 2016-2023 Khaled Hosny <kha...@aliftype.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/raqm-0.10.0/tests/scripts-combinig-marks.test new/raqm-0.10.1/tests/scripts-combinig-marks.test --- old/raqm-0.10.0/tests/scripts-combinig-marks.test 1970-01-01 01:00:00.000000000 +0100 +++ new/raqm-0.10.1/tests/scripts-combinig-marks.test 2023-04-12 19:44:48.000000000 +0200 @@ -0,0 +1,46 @@ +fonts/sha1sum/83db7d61f9292c18c951662f254f4ad038e41639.otf +عַرַبִ٠+ +Direction is: DEFAULT + +Before script detection: +script for ch[0] Arab +script for ch[1] Zinh +script for ch[2] Arab +script for ch[3] Zinh +script for ch[4] Arab +script for ch[5] Zinh +script for ch[6] Arab + +After script detection: +script for ch[0] Arab +script for ch[1] Arab +script for ch[2] Arab +script for ch[3] Arab +script for ch[4] Arab +script for ch[5] Arab +script for ch[6] Arab + +Resolved direction is: RTL + +Number of runs before script itemization: 1 + +BiDi Runs: +run[0]: start: 0 length: 7 level: 1 + +Number of runs after script itemization: 1 + +Final Runs: +run[0]: start: 0 length: 7 direction: rtl script: Arab font: Noto AH Test + +Glyph information: +glyph [12] x_offset: 0 y_offset: 0 x_advance: 687 font: Noto AH Test +glyph [15] x_offset: 57 y_offset: -239 x_advance: 0 font: Noto AH Test +glyph [4] x_offset: 0 y_offset: 0 x_advance: 275 font: Noto AH Test +glyph [16] x_offset: -23 y_offset: -258 x_advance: 0 font: Noto AH Test +glyph [6] x_offset: 0 y_offset: 0 x_advance: 404 font: Noto AH Test +glyph [16] x_offset: 133 y_offset: -100 x_advance: 0 font: Noto AH Test +glyph [10] x_offset: 0 y_offset: 0 x_advance: 505 font: Noto AH Test + +UTF-32 clusters: 06 04 04 02 02 00 00 +UTF-8 clusters: 12 08 08 04 04 00 00