mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
include_point used to flip Y so the computed line-box extents matched the old Y-down internal model. With the library now tracking extents in Y-up (font) space and wrapping SVG body in <g transform="scale(1,-1)">, that flip sent the auto-fit viewBox above the glyph ink instead of around it. Regenerate the vector expected SVGs that had captured the shifted viewBox. Assisted-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
1.1 KiB
XML
9 lines
1.1 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-16 -1000 1545 1289" width="1545" height="1289">
|
|
<rect x="-16" y="-1000" width="1545" height="1289" fill="rgb(255,255,255)"/>
|
|
<g transform="scale(1,-1)">
|
|
<path d="M194,-12C255,-12 309,20 355,58L358,58L365,0L433,0L433,298C433,419 383,498 264,498C186,498 118,464 73,435L105,378C143,404 194,430 250,430C330,430 350,370 350,308C143,285 52,232 52,126C52,39 113,-12 194,-12ZM218,54C170,54 132,77 132,132C132,194 188,234 350,254L350,119C303,77 265,54 218,54Z" fill="#000"/>
|
|
<path d="M801,-12C912,-12 1011,85 1011,251C1011,401 944,498 818,498C764,498 710,469 666,430L668,518L668,712L586,712L586,0L652,0L659,50L662,50C705,11 756,-12 801,-12ZM787,57C755,57 711,71 668,108L668,363C714,406 757,429 798,429C890,429 926,357 926,250C926,130 867,57 787,57Z" fill="#000"/>
|
|
<path d="M1331,-12C1389,-12 1444,11 1488,50L1452,105C1422,78 1383,56 1338,56C1249,56 1188,131 1188,242C1188,354 1252,430 1340,430C1379,430 1409,412 1437,387L1479,441C1445,472 1401,498 1337,498C1212,498 1103,405 1103,242C1103,81 1202,-12 1331,-12Z" fill="#000"/>
|
|
</g>
|
|
</svg>
|