mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Try using an intermediate library
Still doesn't link.
This commit is contained in:
parent
f28daba53c
commit
2a06b85d4e
3 changed files with 11 additions and 1 deletions
|
@ -62,7 +62,7 @@ extern "C" fn _hb_fontations_font_funcs_create() -> *mut hb_font_funcs_t {
|
|||
|
||||
// A helper to attach these funcs to a hb_font_t
|
||||
#[no_mangle]
|
||||
pub extern "C" fn hb_fontations_font_set_funcs(
|
||||
pub extern "C" fn _hb_fontations_font_set_funcs(
|
||||
font: *mut hb_font_t,
|
||||
) {
|
||||
let ffuncs = _hb_fontations_font_funcs_create ();
|
||||
|
|
9
src/hb-fontations.cc
Normal file
9
src/hb-fontations.cc
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include "hb-fontations.h"
|
||||
|
||||
extern "C" void _hb_fontations_font_set_funcs (hb_font_t *font);
|
||||
|
||||
void
|
||||
hb_fontations_font_set_funcs (hb_font_t *font)
|
||||
{
|
||||
_hb_fontations_font_set_funcs (font);
|
||||
}
|
|
@ -699,6 +699,7 @@ if get_option('fontations').enabled()
|
|||
subdir('fontations')
|
||||
|
||||
hb_fontations_sources = [
|
||||
'hb-fontations.cc',
|
||||
]
|
||||
|
||||
hb_fontations_headers = [
|
||||
|
|
Loading…
Add table
Reference in a new issue