New branch 'private/khaledhosny2/optical-sizing' available with the following
commits:
commit 7edad1b39e3f1574479a74a2dcb9c11179104306
Author: Khaled Hosny <[email protected]>
Date: Fri Feb 27 03:46:19 2026 +0200
tdf#153368: Support optical size for variable fonts, part 7
Enable in Draw/Impress.
WIP.
Change-Id: Icdfa639836efeb7ae8baa9ffadef35b6ccf28646
commit aff9e97259ad7ae9a468060abfdab5d06b8cf2c5
Author: Khaled Hosny <[email protected]>
Date: Sun Mar 1 02:38:41 2026 +0200
Apply font variations when drawing text
Set variations on the Skia font since now we allow the user to set font
variations, and they can be different from the variations the font was
created with. Previously we only supported named instances and these got
their variations set by the platform font API.
Change-Id: I2cda0409273a8ae00f40dacb1deb166af65ebbe5
commit 57b9fb05bb458b50daeef3a4ccf2b2cb380c4d62
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 14:28:03 2026 +0200
tdf#153368: Support optical size for variable fonts, part 6
Add Optical Font Sizing checkbox to the Position page of Character
dialog. I’m not sure if this is the best place, but I have no better
idea.
Change-Id: Ice019da856dbd9f1195941706f26b175bb931c97
commit c08ac75365f8abb79daa672d49858c4fb073630d
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 22:35:37 2026 +0200
tdf#153368: Support optical size for variable fonts, part 5
Support import/export of font-optical-sizing in HTML filter.
Change-Id: Ib45b3152b57e674fc1e0b4b4b2359634909d15a0
commit 23432721a3b4ff1c420236b48fc760361f2326f2
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 17:48:05 2026 +0200
Clamp variation values to axis min and max
Avoids creating needless PDF subsets for instances that are effectively
the same.
Change-Id: I9ce04f99a77cb4d6fde5456d6de928b9f46670e2
commit f56a32b11693901e7d5470729a7966cc856eaff3
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 14:11:21 2026 +0200
tdf#153368: Support optical size for variable fonts, part 4
Support saving/loading font-optical-sizing in Writer. The
font-optical-sizing property is enabled on the standard style for new
documents, and for old documents it remains unset for backward
compatibility.
Add no-op stubs to DOCX, RTF, WW8, and HTML filters.
Change-Id: I87e3de603785dbd588099bfbd72e13e4538fc420
commit 5ac888cd5107ceaba4e087b9852f520d93c447ad
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 14:10:59 2026 +0200
tdf#153368: Support optical size for variable fonts, part 3
Add loext:font-optical-sizing attribute with two values, "auto" and
"none", modeled after CSS font-optical-sizing:
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-optical-sizing
Change-Id: I05396f084dc81d0a797be0e7c0cd57991a6876e3
commit f2226d3b95bce1aca13adf9fce7e7ef7bf98b45f
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 14:10:42 2026 +0200
tdf#153368: Support optical size for variable fonts, part 2
Add SvxOpticalSizingItem and EditEngine plumbing. Mostly mindlessly
copying stuff here. Lets hope for the best.
Change-Id: Idf0b062ff955fa35bd04c8e69c103e15887932f5
commit 38aaea5704e725d20e4048412833ba5a068b4db0
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 14:10:17 2026 +0200
tdf#153368: Support optical size for variable fonts, part 1
Font plumbing to enable opsz axis and set it to font’s point size.
Change-Id: I3a4941591e47788dc659ba55d37c9f28d2f267d6
commit 7666cbad925d5fda19d61fd43817cab6b16600cf
Author: Khaled Hosny <[email protected]>
Date: Tue Feb 24 17:52:51 2026 +0200
Add LogicalFontInstance::[G|S]etVariations()
First step towards supporting font variations beyond named instances.
Change-Id: Ia339654b1ea269d72c50d5193103c889dcc61afb
commit 87f4f01e203d0588d411e5d5c1629a92b4ad0fe2
Author: Khaled Hosny <[email protected]>
Date: Thu Feb 26 16:51:18 2026 +0200
Parse hexadecimal escapes in vcl::filter::PDFNameElement
We write these escapes rather liberally in COSWriter::appendName(), so we
should parse them when reading.
Change-Id: Ie9f7626de287fd5038ca198a7143a95c3471ce92