src/hb-ot-metrics.cc


Log

Author Commit Date CI Message
Behdad Esfahbod e826d94a 2023-04-30T11:11:19 Call roundf() instead of _hb_roundf() The former is defined as a macro expanding to the latter.
Behdad Esfahbod 4ee47192 2022-07-13T10:36:53 More -Wcomma fixes Fixes https://github.com/harfbuzz/harfbuzz/issues/3716
Behdad Esfahbod 21f5ef56 2022-03-15T10:45:50 [metrics] Simplify x-height fallback
Khaled Hosny 8d1b000a 2022-03-01T21:27:32 4.0.0
Matthias Clasen f6efe34f 2022-02-15T17:17:09 [ot-metrics] Synthesize missing metrics Add a variant of hb_ot_metrics_get_position that synthesizes missing values. New api: hb_ot_metrics_get_position_with_fallback
Behdad Esfahbod 3fc2e654 2022-01-02T11:56:45 [metrics] Fix slant calc
Behdad Esfahbod 4ab94443 2022-01-02T11:26:45 [metrics] Ouch. Fix slant code
Behdad Esfahbod f7d49d9c 2022-01-02T11:16:33 [metrics] Simplify
Behdad Esfahbod f1ba1f94 2022-01-02T10:58:25 [metrics] Only scale caret rise/run if font is slanted
Behdad Esfahbod 45c2b6e3 2022-01-02T10:55:11 [metrics] Harden math
Behdad Esfahbod fa008a02 2022-01-02T10:46:38 [metrics] Implement synthetic slant for caret slope Part of https://github.com/harfbuzz/harfbuzz/pull/3338
Behdad Esfahbod fc329f66 2022-01-02T10:41:41 [metrics] Scale up horizontal caret rise/run Eg. if rise/run are 1/0, we now return upem/0. This is equivalent. Part of https://github.com/harfbuzz/harfbuzz/pull/3338
Behdad Esfahbod 6ed22de1 2021-12-08T10:40:40 [CONFIG] Fix HB_NO_VERTICAL build without HB_TINY
Behdad Esfahbod 53eebc7c 2021-12-08T08:32:41 [CONFIG] Add HB_NO_VERTICAL
Khaled Hosny 3a012cc4 2020-12-30T23:40:25 [docs] Complete hb-metrics docs a bit
Khaled Hosny 08269408 2020-12-23T00:45:39 [docs] Add messing sections Docs for these sections were not generated at all.
Behdad Esfahbod 6461143b 2019-08-13T22:20:54 2.6.0
Ebrahim Byagowi 20072a2e 2019-07-30T03:43:15 [metrics] Make values match their enum type naming
Ebrahim Byagowi 4e1da6bb 2019-07-29T22:03:56 [metrics] Rename hb_ot_metrics_t to hb_ot_metrics_tag_t
Ebrahim Byagowi d3d99f8b 2019-07-26T16:46:04 [metrics] Expose raw OS2/HHEA asc/dsc values using private tags (#1867)
Ebrahim Byagowi a744fdc6 2019-07-25T14:49:02 Add _MAX_VALUE to hb_ot_metrics_t (#1861)
Ebrahim Byagowi a51aa951 2019-07-22T18:35:55 [metrics] Fix _get_variation API to works with actual coord values
Behdad Esfahbod 77141dff 2019-07-22T07:48:32 [metrics] _-prefix internal symbol
Ebrahim Byagowi 759f3bd4 2019-07-22T02:06:07 [metrics] Don't use metrics API in _common As it is exposed with a different condition
Ebrahim Byagowi 3d03bb84 2019-07-21T12:38:04 [metrics] minor, tweak comment
Ebrahim Byagowi cb704337 2019-07-20T14:33:57 Merge _get_position_internal into _get_position
Ebrahim Byagowi 00e13985 2019-07-20T23:03:51 Revert hhea fallback to OS/2 to its reverse way As searching number of hhea having fonts beats the number of OS/2 having ones in macOS 10.14.2
Ebrahim Byagowi c13ef9cc 2019-07-20T15:01:37 Bring back asc/desc abs logic used to be in hmtx table
Ebrahim Byagowi 772e6268 2019-07-20T14:50:31 Make HB_TINY builds work again by separating the always needed part
Ebrahim Byagowi 471f798a 2019-07-20T14:00:20 Merge ot-metrics-internal.cc with ot-metrics now that isn't needed in subset
Ebrahim Byagowi 5e28c265 2019-07-20T14:08:11 [doc] minor, improve hb-ot-metrics doc a bit
Ebrahim Byagowi 2e5b49d1 2019-07-19T11:41:07 Add HB_NO_METRICS and fix HB_TINY build (#1839)
Ebrahim Byagowi 87e62843 2018-11-20T23:26:46 Implement a simple API for fetching opentype metrics Fixes https://github.com/harfbuzz/harfbuzz/pull/1432