diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-10-01 08:21:58 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-10-01 13:09:48 +0200 |
commit | 112d07027c4484dd571519911596d11eae897524 (patch) | |
tree | 0b33c5f4970ad3e2dced137581e3cf6d46931930 /vcl/quartz/salgdi.cxx | |
parent | c107d08460938270cbc2a32a89d995fc0ae8ebea (diff) |
vcl: Use PhysicalFontFace::GetRawFontData() for font embedding
Change-Id: I6f7c4508f7cef022eaf65a998cb242078d3771c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140826
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/quartz/salgdi.cxx')
-rw-r--r-- | vcl/quartz/salgdi.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index 7267e1a83cad..54127bc07b22 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -484,18 +484,6 @@ bool AquaSalGraphics::GetFontCapabilities(vcl::FontCapabilities &rFontCapabiliti return mpTextStyle[0]->GetFontFace()->GetFontCapabilities(rFontCapabilities); } -const void* AquaSalGraphics::GetEmbedFontData(const vcl::font::PhysicalFontFace*, tools::Long* /*pDataLen*/) -{ - return nullptr; -} - -void AquaSalGraphics::FreeEmbedFontData( const void* pData, tools::Long /*nDataLen*/ ) -{ - // TODO: implementing this only makes sense when the implementation of - // AquaSalGraphics::GetEmbedFontData() returns non-NULL - SAL_WARN_IF( (pData==nullptr), "vcl", "AquaSalGraphics::FreeEmbedFontData() is not implemented"); -} - void AquaSalGraphics::Flush() { mpBackend->Flush(); |