Files
harfbuzz/test/vector/data/expected/basic/handwriting-cff-colr-1.svg
T
Behdad Esfahbod 8e6b9ecf4e [test] Add vector coverage for handwriting color fonts
Extend the vector regression tests to cover the remaining handwriting
fuzzing fonts: sbix, glyf COLRv1, and CFF/CFF2 COLRv1.

Reuse the expected output where the CFF and CFF2 variants serialize
identically.

Assisted-by: OpenAI Codex
2026-03-12 01:49:07 -03:00

72 lines
6.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-16 -966 1307 1232" width="1307" height="1232">
<defs>
<clipPath id="c0"><rect x="64" y="-224" width="1152" height="1152"/></clipPath>
<path id="p13" d="M1200,270C1200,299 1177,322 1148,323C1125,324 1067,309 1034,325C954,363 621,538 621,538C592,554 520,577 484,568L218,462C192,456 171,440 158,420C148,409 138,332 123,262C108,192 90,146 90,146C76,93 118,57 156,51C193,44 242,67 256,121L287,268C292,292 312,311 337,314L430,311L397,143C397,143 564,-71 799,-121C885,-140 966,-86 1028,-82C1056,-80 1116,-86 1142,-94C1171,-102 1200,-81 1200,-52L1200,270Z"/>
<clipPath id="clip-g13"><use href="#p13"/></clipPath>
<radialGradient id="gr0" gradientUnits="userSpaceOnUse" cx="288" cy="494" r="467" fx="288" fy="494" spreadMethod="pad">
<stop offset="0.3533" stop-color="rgb(255,202,40)"/>
<stop offset="0.7665" stop-color="rgb(255,179,0)"/>
</radialGradient>
<path id="p14" d="M860,-135C800,-134 709,-100 646,-73C599,-52 547,-50 499,-67L451,-84C405,-100 354,-85 325,-47L231,79L1019,81C1019,81 1004,-138 860,-135Z"/>
<clipPath id="clip-g14"><use href="#p14"/></clipPath>
<path id="p15" d="M418,268L559,501L558,462C557,422 583,386 622,374L418,268Z"/>
<clipPath id="clip-g15"><use href="#p15"/></clipPath>
<path id="p16" d="M259,-90L98,-209C86,-218 72,-209 75,-195L120,-10C121,-6 123,-1 125,2L659,892C670,911 693,918 711,908L793,862C810,852 815,829 804,810L270,-77C268,-82 264,-87 259,-90Z"/>
<clipPath id="clip-g16"><use href="#p16"/></clipPath>
<path id="p17" d="M503,542C535,542 585,525 608,513C622,506 942,337 1023,299C1037,293 1054,290 1075,290C1092,290 1108,291 1122,293C1131,294 1140,295 1146,295L1147,295C1161,294 1172,284 1172,270L1172,-52C1172,-61 1163,-68 1155,-68C1153,-68 1151,-67 1150,-67C1122,-59 1069,-53 1039,-53C1034,-53 1030,-53 1026,-54C999,-55 972,-64 943,-74L937,-76C933,-77 930,-79 927,-82C908,-99 887,-107 863,-107L860,-107C817,-106 741,-84 657,-47C628,-34 597,-28 565,-28C539,-28 514,-32 489,-41L441,-58C432,-61 423,-62 413,-62C387,-62 363,-50 348,-30L335,-13C330,-6 321,-2 313,-2C312,-2 311,-2 310,-2C307,-2 304,-2 302,-2C274,-2 264,11 259,22C252,36 251,51 257,66C259,72 259,78 257,84C263,85 269,88 274,92C280,99 288,105 296,109C297,109 297,110 297,110L425,186C432,190 436,197 438,204L458,305C459,314 457,323 451,330C446,336 438,339 430,339C429,339 428,339 428,339L347,331L346,331C310,326 281,299 273,265L230,129C229,129 229,128 229,128C229,126 228,124 227,122C225,116 225,109 227,104C221,103 215,100 211,96C199,85 183,78 168,78C165,78 163,78 160,79C145,81 130,91 122,103C116,113 114,125 117,138C121,147 137,191 150,256C155,279 159,301 163,323C169,355 176,394 181,403C181,404 181,404 181,404C192,420 207,431 225,435C226,435 228,436 229,436L492,541C494,542 498,542 503,542ZM503,570C496,570 489,569 484,568L218,462C193,456 172,440 158,420C148,409 138,332 123,262C108,192 91,146 91,146C76,93 118,57 156,51C160,50 164,50 168,50C189,50 212,58 230,76C223,55 223,32 234,10C248,-19 274,-30 302,-30C305,-30 309,-30 313,-30L326,-47C346,-75 380,-90 414,-90C426,-90 439,-88 451,-84L499,-67C521,-59 543,-56 566,-56C593,-56 620,-61 646,-73C709,-100 800,-134 860,-135L863,-135C897,-135 925,-122 946,-102C975,-93 1003,-83 1028,-82C1031,-82 1035,-81 1039,-81C1070,-81 1119,-87 1142,-94C1146,-95 1151,-96 1155,-96C1179,-96 1200,-76 1200,-52L1200,270C1200,299 1177,322 1148,323C1148,323 1147,323 1146,323C1130,323 1102,318 1076,318C1061,318 1046,319 1035,325C954,363 621,538 621,538C596,551 541,570 503,570ZM254,112C255,115 255,118 256,121L300,257C305,281 325,300 350,303L430,311L410,210L283,134C272,128 262,120 254,112Z"/>
<clipPath id="clip-g17"><use href="#p17"/></clipPath>
<linearGradient id="gr1" gradientUnits="userSpaceOnUse" x1="669" y1="776" x2="572" y2="-1477" spreadMethod="pad">
<stop offset="0" stop-color="rgb(100,181,246)"/>
<stop offset="1" stop-color="rgb(33,150,243)"/>
</linearGradient>
<path id="p18" d="M694,884C695,884 696,884 697,884L779,837C779,837 781,836 781,834C782,833 782,829 779,824L246,-63C245,-65 244,-66 242,-68L112,-164L147,-16C147,-15 148,-13 149,-12L683,877C686,882 691,884 694,884ZM694,913C681,913 667,905 659,892L125,2C122,-1 121,-5 120,-10L75,-195C73,-205 80,-212 89,-212C92,-212 95,-211 98,-209L259,-90C264,-87 268,-82 271,-77L804,810C815,829 810,852 793,862L711,908C706,911 700,913 694,913Z"/>
<clipPath id="clip-g18"><use href="#p18"/></clipPath>
<path id="p19" d="M775,346C659,390 569,383 503,332C458,296 294,179 222,102C187,65 219,24 249,5C308,-32 366,-29 494,48C559,88 600,55 647,23C647,23 719,-36 783,-59C846,-81 995,-47 1045,29C1100,112 1011,256 775,346Z"/>
<clipPath id="clip-g19"><use href="#p19"/></clipPath>
<radialGradient id="gr2" gradientUnits="userSpaceOnUse" cx="634" cy="160" r="342" fx="634" fy="160" spreadMethod="pad">
<stop offset="0.3533" stop-color="rgb(255,202,40)"/>
<stop offset="0.7665" stop-color="rgb(255,179,0)"/>
</radialGradient>
<path id="p20" d="M635,347C590,347 553,335 521,310C511,302 495,290 476,275C409,225 297,141 242,83C235,75 234,69 235,65C236,54 248,39 264,29C284,16 303,11 323,11C360,11 408,30 479,73C504,88 527,95 551,95C593,95 625,73 656,51L662,47C663,46 664,46 665,45C665,45 734,-12 792,-32C795,-34 801,-35 808,-36C832,-51 857,-59 886,-60C846,-68 808,-68 783,-59C719,-36 647,24 647,24C644,25 642,27 640,28C596,58 556,86 494,49C366,-29 308,-32 249,5C219,24 187,65 222,102C294,179 458,296 503,332C518,343 535,353 552,360C577,370 605,375 635,375C657,375 681,372 707,366C717,364 728,361 739,358C707,355 684,350 667,345C656,346 645,347 635,347Z"/>
<clipPath id="clip-g20"><use href="#p20"/></clipPath>
<g id="cg0">
<g clip-path="url(#c0)">
<g clip-path="url(#clip-g13)">
<g transform="matrix(1,0,0,0.9768066,0,0)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="url(#gr0)"/>
</g>
</g>
<g clip-path="url(#clip-g14)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="#FA0"/>
</g>
<g clip-path="url(#clip-g15)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="#EDA600"/>
</g>
<g clip-path="url(#clip-g16)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="#1E88E5"/>
</g>
<g clip-path="url(#clip-g17)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="#EDA600"/>
</g>
<g clip-path="url(#clip-g16)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="url(#gr1)"/>
</g>
<g clip-path="url(#clip-g18)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="#424242" fill-opacity="0.2"/>
</g>
<g clip-path="url(#clip-g19)">
<g transform="matrix(1,0,0,0.9691162,0,0)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="url(#gr2)"/>
</g>
</g>
<g clip-path="url(#clip-g20)">
<rect x="-32767" y="-32767" width="65534" height="65534" fill="#EDA600"/>
</g>
</g>
</g>
</defs>
<use href="#cg0" transform="translate(0,0) scale(1,-1)"/>
</svg>