!4 修复check阶段测试用例cursor_position_GB8a.test失败问题
Merge pull request !4 from 吴磊磊/openEuler-22.03-LTS-Next
This commit is contained in:
commit
e5e2ff73c3
29
Update-text-expectation.patch
Normal file
29
Update-text-expectation.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 0d25533d33e149d3570ffe61fb1d7128e7ea79cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: wu-leilei <wu18740459704@163.com>
|
||||||
|
Date: Fri, 7 Jan 2022 15:56:06 +0800
|
||||||
|
Subject: [PATCH] Update text expectation
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/cursor_position_GB8a.test | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/cursor_position_GB8a.test b/tests/cursor_position_GB8a.test
|
||||||
|
index bef963e..d161691 100644
|
||||||
|
--- a/tests/cursor_position_GB8a.test
|
||||||
|
+++ b/tests/cursor_position_GB8a.test
|
||||||
|
@@ -32,9 +32,9 @@ glyph [0] x_offset: 0 y_offset: 0 x_advance: 748 font: Amiri
|
||||||
|
glyph [0] x_offset: 0 y_offset: 0 x_advance: 748 font: Amiri
|
||||||
|
glyph [0] x_offset: 0 y_offset: 0 x_advance: 748 font: Amiri
|
||||||
|
|
||||||
|
-UTF-32 clusters: 00 01 02 03
|
||||||
|
-UTF-8 clusters: 00 04 08 12
|
||||||
|
+UTF-32 clusters: 00 00 02 02
|
||||||
|
+UTF-8 clusters: 00 00 08 08
|
||||||
|
|
||||||
|
-The position is 2992 at index 12
|
||||||
|
+The position is 2244 at index 8
|
||||||
|
|
||||||
|
The start-index is 4 at position 1000
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: libraqm
|
Name: libraqm
|
||||||
Version: 0.7.0
|
Version: 0.7.0
|
||||||
Release: 2
|
Release: 3
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: Complex Textlayout Library
|
Summary: Complex Textlayout Library
|
||||||
URL: https://github.com/HOST-Oman/libraqm
|
URL: https://github.com/HOST-Oman/libraqm
|
||||||
Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
|
Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
|
||||||
|
Patch0001: Update-text-expectation.patch
|
||||||
|
|
||||||
BuildRequires: python3 freetype-devel harfbuzz-devel fribidi-devel gtk-doc gcc
|
BuildRequires: python3 freetype-devel harfbuzz-devel fribidi-devel gtk-doc gcc
|
||||||
|
|
||||||
@ -60,6 +61,9 @@ rm -f %{buildroot}%{_libdir}/*.{la,a}
|
|||||||
%{_datadir}/gtk-doc/html/raqm
|
%{_datadir}/gtk-doc/html/raqm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 11 2022 wulei <wulei80@huawei.com> - 0.7.0-3
|
||||||
|
- Fix cursor_position_GB8a.test failure
|
||||||
|
|
||||||
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 0.7.0-2
|
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 0.7.0-2
|
||||||
- fixes failed: error: no acceptable C compiler found in $PATH
|
- fixes failed: error: no acceptable C compiler found in $PATH
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user