Hi everyone,
I started exploring *Mozilla *codebase, reviewed Mozilla's build structure
in "gfx/harfbuzz/src/moz.build," and noted that they explicitly export "
hb-ot-math.h".

I found the equivalent build file for HarfBuzz, meson.build file, in
*LibreOffice*, located in "harfbuzz/src/". I successfully located the
hb-ot-math files (.cc, .h, .hh) within this directory.

I analyzed Mozilla's gfxFont.cpp to see how Firefox checks if a font
supports mathematical layout. I specifically looked at the
TryGetMathTable() method, which calls the HarfBuzz API
hb_ot_math_has_data(face). In *LibreOffice*, we won't need an additional
function, we will use "hb_ot_math_has_data(face)" directly to check if the
font has a Math Table.

*Currently*, I'm working on *2 coding tasks*:
1. *Task 1*: Implement hb_ot_math_has_data in PhysicalFontFace.
2. *Task 2*: Implement hb_ot_math_get_constant in both LogicalFontFace and
PhysicalFontFace, and then call both files within vcl/font/font.cxx
not vcl/outdev/font/cxx.

Reply via email to