diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2025-07-11 18:18:45 -0400 |
---|---|---|
committer | Khaled Hosny <khaled@libreoffice.org> | 2025-07-12 09:44:58 +0200 |
commit | 5dd3bc47556d95c862b9c889537730ef41fa257e (patch) | |
tree | 44c355dfbf7ac23136e17b8a611bb88c1f92d871 /package/source/zippackage/ZipPackageEntry.cxx | |
parent | bd406000424d9db4a6c6cf38ed19fcdfd90f2d89 (diff) |
tdf#159529 Use macOS font table memory directly instead of copyingHEADmaster
Per Apple's documentation, the CFDataRef returned by the
CTFontCopyTable() function is "A retained reference to the
font table data as a CFDataRef object. The table data is not
actually copied; however, the data reference must be released."
So, instead of making a copy of the CFDataRef's data, just use
the CFDataRef's data pointer for the HarfBuzz blob and release
the CFDataRef in the blob's destroy function.
Change-Id: Ia670d036b20ca268b203eedcb1abbaad471d5384
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187761
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'package/source/zippackage/ZipPackageEntry.cxx')
0 files changed, 0 insertions, 0 deletions