OS/2, eCS & ArcaOS - Technical > Programming

harfbuzz (TeX Live)

<< < (2/3) > >>

Dave Yeo:
Possibly related to freetype2's TT_OS2 struct?
Harfbuzz is used along with freeetype2 and fontconfig, it does fine spacing between fonts and heights of ascenders and descenders or similar. Important in some Indian scripts and perhaps some Middle Eastern scripts.

The Mozilla harfbuzz does have this to quiet some stderr spamming, from hb-private.hh

--- Code: ---#ifndef HB_INTERNAL
# if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
#  define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
#  define HB_INTERNAL
# endif
#endif

--- End code ---

Mentore:

--- Quote from: Dave Yeo on October 17, 2024, 01:00:56 am ---Mentore posted the error already. Harfbuzz is at hrafbuzz.org. Guess they've moved to Meson for building otherwise I'd try

--- End quote ---

Right you are David. I was thinking about porting Meson, but it seems a lot of work. Still I intend to give it a try.
In the meantime harfbuzz is still buildable with the old CMake stuff.

Mentore

Mentore:

--- Quote from: Dave Yeo on October 17, 2024, 04:35:44 am ---Possibly related to freetype2's TT_OS2 struct?
Harfbuzz is used along with freeetype2 and fontconfig, it does fine spacing between fonts and heights of ascenders and descenders or similar. Important in some Indian scripts and perhaps some Middle Eastern scripts.

The Mozilla harfbuzz does have this to quiet some stderr spamming, from hb-private.hh

--- Code: ---#ifndef HB_INTERNAL
# if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
#  define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
#  define HB_INTERNAL
# endif
#endif

--- End code ---

--- End quote ---

This may be useful. Gonna try today as soon as I have time.
Mentore

Paul Smedley:

--- Quote from: Dave Yeo on October 17, 2024, 01:00:56 am ---Mentore posted the error already. Harfbuzz is at hrafbuzz.org. Guess they've moved to Meson for building otherwise I'd try

--- End quote ---
Dug  - missed the attachment. The source at https://github.com/harfbuzz/harfbuzz still has a cmakelists.txt so will take a look

Mentore:

--- Quote from: Mentore on October 17, 2024, 10:01:35 am ---
--- Quote from: Dave Yeo on October 17, 2024, 04:35:44 am ---Possibly related to freetype2's TT_OS2 struct?
Harfbuzz is used along with freeetype2 and fontconfig, it does fine spacing between fonts and heights of ascenders and descenders or similar. Important in some Indian scripts and perhaps some Middle Eastern scripts.

The Mozilla harfbuzz does have this to quiet some stderr spamming, from hb-private.hh

--- Code: ---#ifndef HB_INTERNAL
# if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
#  define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
#  define HB_INTERNAL
# endif
#endif

--- End code ---

--- End quote ---

This may be useful. Gonna try today as soon as I have time.
Mentore

--- End quote ---

Didn't find this header in the current source tree, but I got a hint and #undef-ined OS2 from CFLAGS and CPPFLAGS.
Built without errors, just some warnings.

Will let you know how far I reach in TeX.

Mentore

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version