mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-01 04:38:46 +02:00
🐛(frontend) fix emoji pdf not matching
The emoji algorithm to find the emoji was not totally correct, it could choose a bad family of emojis. The first part of the emoji "code" is what should be used first to find the "family" of the emoji, we can then try to find the exact match in that specific family.
This commit is contained in:
@@ -28,6 +28,7 @@ and this project adheres to
|
||||
- 🐛(backend) prevent admins/owners from overwriting other users comments
|
||||
- 🐛(y-provider) return empty output when converting empty Yjs document
|
||||
- 🐛(backend) use computed_link_reach in handle_onboarding_document #2305
|
||||
- 🐛(frontend) fix emoji pdf not matching #2375
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
@@ -181,29 +181,30 @@ endobj
|
||||
/I8 41 0 R
|
||||
/I9 42 0 R
|
||||
/I10 43 0 R
|
||||
/I11 44 0 R
|
||||
>>
|
||||
/ColorSpace <<
|
||||
>>
|
||||
>>
|
||||
endobj
|
||||
53 0 obj
|
||||
(react-pdf)
|
||||
endobj
|
||||
54 0 obj
|
||||
(react-pdf)
|
||||
endobj
|
||||
55 0 obj
|
||||
(D:20260519193319Z)
|
||||
(react-pdf)
|
||||
endobj
|
||||
56 0 obj
|
||||
(chromium-2538-0-doc-export-override-content)
|
||||
(D:20260602075914Z)
|
||||
endobj
|
||||
52 0 obj
|
||||
57 0 obj
|
||||
(chromium-6345-0-doc-export-override-content)
|
||||
endobj
|
||||
53 0 obj
|
||||
<<
|
||||
/Producer 53 0 R
|
||||
/Creator 54 0 R
|
||||
/CreationDate 55 0 R
|
||||
/Title 56 0 R
|
||||
/Producer 54 0 R
|
||||
/Creator 55 0 R
|
||||
/CreationDate 56 0 R
|
||||
/Title 57 0 R
|
||||
>>
|
||||
endobj
|
||||
24 0 obj
|
||||
@@ -214,10 +215,10 @@ endobj
|
||||
/Encoding /WinAnsiEncoding
|
||||
>>
|
||||
endobj
|
||||
58 0 obj
|
||||
59 0 obj
|
||||
<<
|
||||
/Type /FontDescriptor
|
||||
/FontName /ICGQIN+Inter18pt-Regular
|
||||
/FontName /WKHXTG+Inter18pt-Regular
|
||||
/Flags 4
|
||||
/FontBBox [-742.1875 -323.242187 2579.589844 1109.375]
|
||||
/ItalicAngle 0
|
||||
@@ -226,20 +227,20 @@ endobj
|
||||
/CapHeight 727.539063
|
||||
/XHeight 539.0625
|
||||
/StemV 0
|
||||
/FontFile2 57 0 R
|
||||
/FontFile2 58 0 R
|
||||
>>
|
||||
endobj
|
||||
59 0 obj
|
||||
60 0 obj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /CIDFontType2
|
||||
/BaseFont /ICGQIN+Inter18pt-Regular
|
||||
/BaseFont /WKHXTG+Inter18pt-Regular
|
||||
/CIDSystemInfo <<
|
||||
/Registry (Adobe)
|
||||
/Ordering (Identity)
|
||||
/Supplement 0
|
||||
>>
|
||||
/FontDescriptor 58 0 R
|
||||
/FontDescriptor 59 0 R
|
||||
/W [0 [1344 735.351563 572.753906 234.375 588.378906 274.414063 637.695313 537.109375 323.730469 728.515625 581.542969 560.546875 539.550781 234.375 516.113281 260.742188 867.675781 396.972656 599.121094 602.539063 558.59375 272.949219 743.652344 581.542969 602.050781 364.257813 602.050781 548.828125 650.878906 581.054688 613.28125 551.757813 632.8125 714.355469 272.949219 681.640625 274.414063 272.949219 681.640625 551.757813 234.375 626.953125 639.648438 610.351563 612.304688 612.304688 641.113281 893.066406]]
|
||||
/CIDToGIDMap /Identity
|
||||
>>
|
||||
@@ -248,16 +249,16 @@ endobj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /Type0
|
||||
/BaseFont /ICGQIN+Inter18pt-Regular
|
||||
/BaseFont /WKHXTG+Inter18pt-Regular
|
||||
/Encoding /Identity-H
|
||||
/DescendantFonts [59 0 R]
|
||||
/ToUnicode 60 0 R
|
||||
/DescendantFonts [60 0 R]
|
||||
/ToUnicode 61 0 R
|
||||
>>
|
||||
endobj
|
||||
62 0 obj
|
||||
63 0 obj
|
||||
<<
|
||||
/Type /FontDescriptor
|
||||
/FontName /COFOOE+Inter18pt-Bold
|
||||
/FontName /HJNHXK+Inter18pt-Bold
|
||||
/Flags 4
|
||||
/FontBBox [-790.527344 -334.472656 2580.566406 1114.746094]
|
||||
/ItalicAngle 0
|
||||
@@ -266,20 +267,20 @@ endobj
|
||||
/CapHeight 727.539063
|
||||
/XHeight 539.0625
|
||||
/StemV 0
|
||||
/FontFile2 61 0 R
|
||||
/FontFile2 62 0 R
|
||||
>>
|
||||
endobj
|
||||
63 0 obj
|
||||
64 0 obj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /CIDFontType2
|
||||
/BaseFont /COFOOE+Inter18pt-Bold
|
||||
/BaseFont /HJNHXK+Inter18pt-Bold
|
||||
/CIDSystemInfo <<
|
||||
/Registry (Adobe)
|
||||
/Ordering (Identity)
|
||||
/Supplement 0
|
||||
>>
|
||||
/FontDescriptor 62 0 R
|
||||
/FontDescriptor 63 0 R
|
||||
/W [0 [1344 740.234375 587.890625 265.625 605.957031 231.933594 574.21875 623.046875 265.625 614.257813 624.023438 421.875 622.558594 639.648438 657.714844 655.273438 275.878906 717.285156 765.136719 753.90625 656.738281 644.53125 725.585938 607.421875 737.304688 231.933594 313.964844 617.1875 668.945313 905.761719 382.8125 551.269531 366.699219 313.964844 642.578125 573.242188 671.875 574.21875 643.066406 642.578125 614.257813 660.644531 581.054688 623.046875 591.308594 392.089844]]
|
||||
/CIDToGIDMap /Identity
|
||||
>>
|
||||
@@ -288,16 +289,16 @@ endobj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /Type0
|
||||
/BaseFont /COFOOE+Inter18pt-Bold
|
||||
/BaseFont /HJNHXK+Inter18pt-Bold
|
||||
/Encoding /Identity-H
|
||||
/DescendantFonts [63 0 R]
|
||||
/ToUnicode 64 0 R
|
||||
/DescendantFonts [64 0 R]
|
||||
/ToUnicode 65 0 R
|
||||
>>
|
||||
endobj
|
||||
66 0 obj
|
||||
67 0 obj
|
||||
<<
|
||||
/Type /FontDescriptor
|
||||
/FontName /SIECWW+Inter18pt-Italic
|
||||
/FontName /QZHMLL+Inter18pt-Italic
|
||||
/Flags 68
|
||||
/FontBBox [-747.558594 -323.242187 2595.703125 1109.375]
|
||||
/ItalicAngle -9.398804
|
||||
@@ -306,20 +307,20 @@ endobj
|
||||
/CapHeight 727.539063
|
||||
/XHeight 539.0625
|
||||
/StemV 0
|
||||
/FontFile2 65 0 R
|
||||
/FontFile2 66 0 R
|
||||
>>
|
||||
endobj
|
||||
67 0 obj
|
||||
68 0 obj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /CIDFontType2
|
||||
/BaseFont /SIECWW+Inter18pt-Italic
|
||||
/BaseFont /QZHMLL+Inter18pt-Italic
|
||||
/CIDSystemInfo <<
|
||||
/Registry (Adobe)
|
||||
/Ordering (Identity)
|
||||
/Supplement 0
|
||||
>>
|
||||
/FontDescriptor 66 0 R
|
||||
/FontDescriptor 67 0 R
|
||||
/W [0 [1344 735.351563 564.941406 234.375 588.378906 274.414063 761.230469 582.03125 324.21875]]
|
||||
/CIDToGIDMap /Identity
|
||||
>>
|
||||
@@ -328,16 +329,16 @@ endobj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /Type0
|
||||
/BaseFont /SIECWW+Inter18pt-Italic
|
||||
/BaseFont /QZHMLL+Inter18pt-Italic
|
||||
/Encoding /Identity-H
|
||||
/DescendantFonts [67 0 R]
|
||||
/ToUnicode 68 0 R
|
||||
/DescendantFonts [68 0 R]
|
||||
/ToUnicode 69 0 R
|
||||
>>
|
||||
endobj
|
||||
70 0 obj
|
||||
71 0 obj
|
||||
<<
|
||||
/Type /FontDescriptor
|
||||
/FontName /XUXSGJ+GeistMono-Regular
|
||||
/FontName /GIAYEU+GeistMono-Regular
|
||||
/Flags 5
|
||||
/FontBBox [-1738 -247 654 1012]
|
||||
/ItalicAngle 0
|
||||
@@ -346,20 +347,20 @@ endobj
|
||||
/CapHeight 710
|
||||
/XHeight 530
|
||||
/StemV 0
|
||||
/FontFile2 69 0 R
|
||||
/FontFile2 70 0 R
|
||||
>>
|
||||
endobj
|
||||
71 0 obj
|
||||
72 0 obj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /CIDFontType2
|
||||
/BaseFont /XUXSGJ+GeistMono-Regular
|
||||
/BaseFont /GIAYEU+GeistMono-Regular
|
||||
/CIDSystemInfo <<
|
||||
/Registry (Adobe)
|
||||
/Ordering (Identity)
|
||||
/Supplement 0
|
||||
>>
|
||||
/FontDescriptor 70 0 R
|
||||
/FontDescriptor 71 0 R
|
||||
/W [0 [500 600 600 600 600 600 600 600 600 600 600 600]]
|
||||
/CIDToGIDMap /Identity
|
||||
>>
|
||||
@@ -368,16 +369,16 @@ endobj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /Type0
|
||||
/BaseFont /XUXSGJ+GeistMono-Regular
|
||||
/BaseFont /GIAYEU+GeistMono-Regular
|
||||
/Encoding /Identity-H
|
||||
/DescendantFonts [71 0 R]
|
||||
/ToUnicode 72 0 R
|
||||
/DescendantFonts [72 0 R]
|
||||
/ToUnicode 73 0 R
|
||||
>>
|
||||
endobj
|
||||
74 0 obj
|
||||
75 0 obj
|
||||
<<
|
||||
/Type /FontDescriptor
|
||||
/FontName /GRLMEW+Inter18pt-BoldItalic
|
||||
/FontName /IEFHXD+Inter18pt-BoldItalic
|
||||
/Flags 68
|
||||
/FontBBox [-795.898437 -334.472656 2596.191406 1114.746094]
|
||||
/ItalicAngle -9.398804
|
||||
@@ -386,20 +387,20 @@ endobj
|
||||
/CapHeight 727.539063
|
||||
/XHeight 539.0625
|
||||
/StemV 0
|
||||
/FontFile2 73 0 R
|
||||
/FontFile2 74 0 R
|
||||
>>
|
||||
endobj
|
||||
75 0 obj
|
||||
76 0 obj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /CIDFontType2
|
||||
/BaseFont /GRLMEW+Inter18pt-BoldItalic
|
||||
/BaseFont /IEFHXD+Inter18pt-BoldItalic
|
||||
/CIDSystemInfo <<
|
||||
/Registry (Adobe)
|
||||
/Ordering (Identity)
|
||||
/Supplement 0
|
||||
>>
|
||||
/FontDescriptor 74 0 R
|
||||
/FontDescriptor 75 0 R
|
||||
/W [0 [1344 367.1875 739.257813 614.257813 367.675781 623.046875 624.023438 605.957031 266.113281 550.78125 583.007813 231.933594 623.046875 265.625 327.148438 610.839844 905.761719 583.007813 399.902344 656.738281 363.769531]]
|
||||
/CIDToGIDMap /Identity
|
||||
>>
|
||||
@@ -408,10 +409,10 @@ endobj
|
||||
<<
|
||||
/Type /Font
|
||||
/Subtype /Type0
|
||||
/BaseFont /GRLMEW+Inter18pt-BoldItalic
|
||||
/BaseFont /IEFHXD+Inter18pt-BoldItalic
|
||||
/Encoding /Identity-H
|
||||
/DescendantFonts [75 0 R]
|
||||
/ToUnicode 76 0 R
|
||||
/DescendantFonts [76 0 R]
|
||||
/ToUnicode 77 0 R
|
||||
>>
|
||||
endobj
|
||||
26 0 obj
|
||||
@@ -422,46 +423,37 @@ endobj
|
||||
/Encoding /WinAnsiEncoding
|
||||
>>
|
||||
endobj
|
||||
44 0 obj
|
||||
45 0 obj
|
||||
<<
|
||||
/Dest [8 0 R /XYZ 595.280029 828.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello Heading 1)
|
||||
/Next 45 0 R
|
||||
>>
|
||||
endobj
|
||||
45 0 obj
|
||||
<<
|
||||
/Dest [8 0 R /XYZ 595.280029 831.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello Heading 2)
|
||||
/Prev 44 0 R
|
||||
/Next 46 0 R
|
||||
>>
|
||||
endobj
|
||||
46 0 obj
|
||||
<<
|
||||
/Dest [8 0 R /XYZ 595.280029 833.640015 0]
|
||||
/Dest [8 0 R /XYZ 595.280029 831.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello Heading 3)
|
||||
/Title (Hello Heading 2)
|
||||
/Prev 45 0 R
|
||||
/Next 47 0 R
|
||||
>>
|
||||
endobj
|
||||
47 0 obj
|
||||
<<
|
||||
/Dest [22 0 R /XYZ 595.280029 828.640015 0]
|
||||
/Dest [8 0 R /XYZ 595.280029 833.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello Title Toggle)
|
||||
/Title (Hello Heading 3)
|
||||
/Prev 46 0 R
|
||||
/Next 48 0 R
|
||||
>>
|
||||
endobj
|
||||
48 0 obj
|
||||
<<
|
||||
/Dest [22 0 R /XYZ 595.280029 833.640015 0]
|
||||
/Dest [22 0 R /XYZ 595.280029 828.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello title 4)
|
||||
/Title (Hello Title Toggle)
|
||||
/Prev 47 0 R
|
||||
/Next 49 0 R
|
||||
>>
|
||||
@@ -470,7 +462,7 @@ endobj
|
||||
<<
|
||||
/Dest [22 0 R /XYZ 595.280029 833.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello title 5)
|
||||
/Title (Hello title 4)
|
||||
/Prev 48 0 R
|
||||
/Next 50 0 R
|
||||
>>
|
||||
@@ -479,23 +471,32 @@ endobj
|
||||
<<
|
||||
/Dest [22 0 R /XYZ 595.280029 833.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello title 6)
|
||||
/Title (Hello title 5)
|
||||
/Prev 49 0 R
|
||||
/Next 51 0 R
|
||||
>>
|
||||
endobj
|
||||
51 0 obj
|
||||
<<
|
||||
/Dest [22 0 R /XYZ 595.280029 833.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (Hello title 6)
|
||||
/Prev 50 0 R
|
||||
/Next 52 0 R
|
||||
>>
|
||||
endobj
|
||||
52 0 obj
|
||||
<<
|
||||
/Dest [22 0 R /XYZ 595.280029 828.640015 0]
|
||||
/Parent 4 0 R
|
||||
/Title (copy/pasting out of doc)
|
||||
/Prev 50 0 R
|
||||
/Prev 51 0 R
|
||||
>>
|
||||
endobj
|
||||
4 0 obj
|
||||
<<
|
||||
/First 44 0 R
|
||||
/Last 51 0 R
|
||||
/First 45 0 R
|
||||
/Last 52 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj
|
||||
@@ -529,7 +530,7 @@ endobj
|
||||
/DisplayDocTitle true
|
||||
>>
|
||||
endobj
|
||||
57 0 obj
|
||||
58 0 obj
|
||||
<<
|
||||
/Length 3722
|
||||
/Filter /FlateDecode
|
||||
@@ -556,7 +557,7 @@ d
|
||||
ZLʳßY¾–/d´LNA/‚mp‘½D¶ÜîûåîR{œ‡_Ã…�DkV{80Ão3ƒîžÞ‹E„"²1B²K›ï¹*¯0SB�…¤�ó*iؤjÏ]1;@ÅIwëÛƒ×ÕÖ•{ÏÌ}nBÇBYÚ*ÃùË0</áÙá7xOØŽ*f^Gõ¿>!!>ò�ž] ··JåíkÛ©!üž¥¥Žq–Sí z“"2Ó—0·�¾…oò\»MÉ�±ê£?¶Â#æ„9J`7·ƒ¹~ÒR°Gηíöôƒã—¨ônÍ;Û£yJÌ»�ŒtPÒ-d / 4â<õO‡£õÄ€œyÓ¨˜>sU(�ŽBXWFKP&qEFþCd <ÑvúÏè =óåÈH^E‡x?€Nö�ÿDò_Ü=
>ñð¼Æß!�‹xŽÈÈû€{GË+AžìÞÜûð›�Ç·Ì_óhTÌsC9ômÀñExd¸##‹h¯ÿµÃ}»þÿ | ||||