[MacPorts] #71575: harfbuzz @10.1: error: use of undeclared identifier 'CTFontManagerCreateFontDescriptorsFromURL' (was: harfbuzz 10.1 does not compile on 10.5 due to CoreText)

MacPorts noreply at macports.org
Wed Dec 18 01:04:34 UTC 2024


#71575: harfbuzz @10.1: error: use of undeclared identifier
'CTFontManagerCreateFontDescriptorsFromURL'
---------------------------------------+-------------------------------
  Reporter:  rmottola                  |      Owner:  mascguy
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:
Resolution:                            |   Keywords:  leopard legacy-os
      Port:  harfbuzz, harfbuzz-devel  |
---------------------------------------+-------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: ryandesign (added)
 * keywords:  leopard legacy => leopard legacy-os
 * owner:  (none) => mascguy
 * port:  harfbuzz => harfbuzz, harfbuzz-devel


Old description:

> It fails:
>
> ../harfbuzz-10.1.0/src/hb-coretext-shape.cc:377:29: error: use of
> undeclared identifier 'CTFontManagerCreateFontDescriptorsFromURL'
>   auto ct_font_desc_array = CTFontManagerCreateFontDescriptorsFromURL
> (url);
>                             ^
> 1 error generated.
>
> The method is only on 10.6 later. I think it needs some kind of rewrite
> for ATS... or do we have some legacy magic already?
>
> See upstream commit:
> https://github.com/harfbuzz/harfbuzz/commit/89c83b5b08f7e66db1d537211ba1d214d082162f

New description:

 It fails:

 {{{
 ../harfbuzz-10.1.0/src/hb-coretext-shape.cc:377:29: error: use of
 undeclared identifier 'CTFontManagerCreateFontDescriptorsFromURL'
   auto ct_font_desc_array = CTFontManagerCreateFontDescriptorsFromURL
 (url);
                             ^
 1 error generated.
 }}}

 The method is only on 10.6 later. I think it needs some kind of rewrite
 for ATS... or do we have some legacy magic already?

 See upstream commit:
 https://github.com/harfbuzz/harfbuzz/commit/89c83b5b08f7e66db1d537211ba1d214d082162f

--

Comment:

 Please report the problem to the developers of harfbuzz, if it hasn't
 already been reported there, and share the report URL with us here.

-- 
Ticket URL: <https://trac.macports.org/ticket/71575#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list