src/hb-style.cc

Branch


Log

Author Commit Date CI Message
Ebrahim Byagowi ea430c10 2024-08-23T17:38:49 [doc] Quote the table name
Ebrahim Byagowi 868a75b6 2024-08-22T18:31:45 [style][doc] Mention explicitly it goes through STAT table
Behdad Esfahbod 75e6498d 2023-03-14T12:41:46 Don't use M_PI Fixes https://github.com/harfbuzz/harfbuzz/issues/4166 Happy Pi Day!
Behdad Esfahbod 651c280d 2022-02-18T18:21:46 [style] Move the negation into the constant
Matthias Clasen 16b232be 2022-02-18T18:05:58 [hb-style] Fix the sign of slant ratios We want negative slant angles to yield positive slant ratios. Fix that. Test included.
Matthias Clasen e76061a7 2022-02-18T17:27:19 [hb-style] Fix synthetic slant values When reporting the slant ratio of a font that has synthetic slant set, we were reporting twice the expected value. Fix that. Test included.
Behdad Esfahbod 602bd396 2021-12-19T21:40:25 [style] Adjust font slant angle for synthetic slant value Part of https://github.com/harfbuzz/harfbuzz/pull/3338
Behdad Esfahbod c6557747 2021-10-21T09:56:47 [style] Use head->macStyle.isExtended in style fallback https://github.com/harfbuzz/harfbuzz/issues/3263
Khaled Hosny 9c387e20 2021-09-17T21:32:30 3.0.0
Behdad Esfahbod e0d5fe74 2021-09-17T08:27:03 Centralize math include https://github.com/harfbuzz/harfbuzz/pull/3212
Behdad Esfahbod ae145378 2021-09-15T07:46:33 [style] Change tag type to hb_style_tag_t https://github.com/harfbuzz/harfbuzz/pull/3201#discussion_r708914354
Behdad Esfahbod 9c270451 2021-09-14T07:50:35 [style] Fix another float conversion warning
Behdad Esfahbod ad4df20d 2021-09-14T07:11:33 [style] Fix float conversion warning
Khaled Hosny d748586a 2021-09-11T01:11:55 [style] Try harder to fix MSVC build https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
Khaled Hosny e275f0d7 2021-09-11T01:03:32 [style] Try to fix MSVC build
Khaled Hosny eb4075a1 2021-09-11T00:50:08 [style] Fix documentation Message documentation a bit to get it working.
Khaled Hosny 4d9b7de0 2021-09-11T00:43:43 [style] Prepare for release
Khaled Hosny 34ff2d3e 2021-09-11T00:12:03 Fix build with -Dexperimental_api=true ../src/hb-style.cc:102:32: error: no matching function for call to 'hb_style_get_value' return _hb_angle_to_ratio (hb_style_get_value (HB_STYLE_TAG_SLANT_ANGLE)); ^~~~~~~~~~~~~~~~~~ ../src/hb-style.cc:99:1: note: candidate function not viable: requires 2 arguments, but 1 was provided hb_style_get_value (hb_font_t *font, hb_tag_t tag) ^ and ../src/hb-style.cc:80:1: error: unused function '_hb_ratio_to_angle' [-Werror,-Wunused-function] _hb_ratio_to_angle (float r) ^
Behdad Esfahbod 39c20d2b 2021-09-09T11:19:21 [style] Add HB_STYLE_TAG_SLANT_RATIO
Behdad Esfahbod 201cbe3c 2021-09-09T11:09:46 [style] Rename HB_STYLE_TAG_SLANT to HB_STYLE_TAG_SLANT_ANGLE
Behdad Esfahbod a23ce289 2021-09-09T10:59:01 [style] Fall back to GPOS 'size' feature for optical size in style API
Khaled Hosny a3fe43a4 2020-12-30T21:58:43 [docs] Hide private enum values "/*< skip >*/" does not seem to hide them.
Ebrahim Byagowi a3b9b94b 2020-07-06T00:05:21 [style] Remove fdsc support (#2541) It isn't exposed yet and low use between Apple fonts, 32 fdsc table vs 767 OS/2 tables, even Apple doesn't support it anymore per Ned.
Ebrahim Byagowi 759df465 2020-06-04T15:49:54 [style] Hide behind HB_EXPERIMENTAL_API compile flag
Ebrahim Byagowi de0ec5f4 2020-02-08T14:09:09 [style] give ptem value when asked for opsz ptem, used for AAT's tracking/`trak` table is equivalent to opsz of variable fonts. For variable AAT fonts, such as SFNS, ideally variable axis of the hb_font_t should be set and equivalent to ptem, https://crbug.com/1005969#c37
Ebrahim Byagowi 22037499 2019-08-04T11:31:31 [style] New experimental API, hb_style_get_value Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.