Hi everyone,

Following up on last week's tasks, I've made solid progress on my second
patch by implementing the HarfBuzz math constants and checking the math
table in 2 functions.

I have successfully implemented:
1. "hb_ot_math_has_data" wrapper function in *PhysicalFontFace* (
https://gerrit.libreoffice.org/c/core/+/207577).
2. "hb_ot_math_get_constant" wrapper function in *LogicalFontInstance* (
https://gerrit.libreoffice.org/c/core/+/207652).

I used a switch statement to handle constants that require scaling through
ScriptPercentScaleDown, ScriptScriptPercentScaleDown, and
RadicalDegreeBottomRaisePercent ensuring the returned HarfBuzz values are
divided by 100.0 and applied implicit conversion (from integer to double).
I also updated the header (vcl/inc/font/LogicalFontInstance.hxx) by
defining the MathConstant enum and declaring the new function.

*My Tasks for Week 7:*
*Task 1*: Implement GetOpenTypeConstant and HasMathTable functions in
vcl/source/outdev/font.cxx
*Task 2: *Add Unit Tests for my weekly work using "STIXTwoMath-Regular.ttx"
font.

Best Regards,
Aya Jamal

Reply via email to