src


Log

Author Commit Date CI Message
Qunxin Liu 7cb002cb 2022-03-14T11:40:35 [subset] bug fix in prune_langsys we should not cache visited langsys cause 2 different Record<Langsys> could have different Tag while pointing to the same Langsys, a langsys is redundant in Record<Langsys> A does not mean it's redundant in Record B. Same thing for visited_script. Also adding the number of features in the LangSys's feature list to the visited langsys count so it's more accurate. Plus some improvement in langsys compare()
Behdad Esfahbod cad2fe8e 2022-03-15T10:49:29 [baseline] Fix HB_NO_METRICS build Fixes https://github.com/harfbuzz/harfbuzz/issues/3482
Behdad Esfahbod a8a89b80 2022-03-15T10:48:03 [layout] Whitespace
Behdad Esfahbod 21f5ef56 2022-03-15T10:45:50 [metrics] Simplify x-height fallback
Behdad Esfahbod 6bf8f0a3 2022-03-15T10:44:41 [baseline] Use ot-metrics fallback API
Dominik Röttsches 965cf1d6 2022-03-14T12:48:18 Make load_num_glyphs_from_loca conditional on HB_NO_BORING_EXPANSION Fixes build errors complaining about this function being unused.
David Corbett 49fb8f90 2022-03-13T15:01:11 [USE] Treat visible viramas like dependent vowels
Khaled Hosny 1f79ba94 2022-03-11T20:19:04 4.0.1
Qunxin Liu a35757c6 2022-02-02T10:30:34 [repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
Matthias Clasen e7ab42b2 2022-03-10T09:05:43 [layout] Fix handling of baseline variations For BASE table format 1.1, the handling of design space vs user space coordinates was inconsistent. We were applying design -> user transformation twice for the deltas, leading to wrong baseline values. Patch by Ebrahim Byagowi <ebrahim@gnu.org> Fixes: #3476
David Corbett e5707a44 2022-03-02T21:30:22 Update IANA Language Subtag Registry to 2022-03-02
David Corbett 13bb46cf 2022-03-06T15:35:31 [USE] Remove obsolete overrides
David Corbett 854219e0 2022-03-05T10:46:31 [USE] Simplify `not_ccs_default_ignorable`
David Corbett 6e059a46 2022-03-04T19:18:40 [USE] Allow any non-numeric tail in symbol cluster
David Corbett 5b0a5981 2022-03-04T20:45:30 [USE] Restore the category WJ
David Corbett c33468d4 2022-03-06T12:26:37 [USE] Treat all gc=Cn as independent clusters
David Corbett e497a8f1 2022-03-06T11:36:43 [USE] Remove obsolete symbol/punctuation overrides
Florian Pircher 05b3bdb0 2022-03-06T03:10:48 [aat] Update OT to AAT mappings for hist and vrtr
luz paz cf3a0f7a 2022-03-01T19:55:58 Fixed various misc. typos Found via `codespell -q 3 -S ./perf/texts -L actualy,als,ba,beng,clen,crasher,dependant,eachother,fo,gir,inout,ist,nd,ned,ot,pres,ro,statics,te,teh,timne`
Khaled Hosny 8d1b000a 2022-03-01T21:27:32 4.0.0
Khaled Hosny 6e466256 2022-03-01T12:01:18 [doc] Typo
Garret Rieger f6071c16 2022-02-28T14:45:40 [subset] Rename codepoint -> unicode in subset plan api
Khaled Hosny 1b5a2e08 2022-02-25T04:22:33 [doc] Various fixes to newly added documentation
Behdad Esfahbod 222301bf 2022-02-24T12:55:01 Merge pull request #3429 from harfbuzz/external_plan [subset] expose subset plan in public subsetting API
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 56f11ec9 2022-02-18T14:08:43 [buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
Garret Rieger fc1548cf 2022-02-17T17:16:31 [subset] document return values.
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 f8e9e315 2022-02-17T14:34:46 Merge pull request #3437 from matthiasclasen/synthesize-missing-baselines [BASE] Synthesize missing baselines
Behdad Esfahbod 8e900f2c 2022-02-17T13:28:44 Revert "hb-algs.hh: Fix build on Visual Studio 2015" This reverts commit 52c536bb8d90cf0f09e13f5e9e21bf489cc08c23. See https://github.com/harfbuzz/harfbuzz/pull/3448
Matthias Clasen 95bb2ff7 2022-02-16T13:10:52 [ot-layout] Add central baselines Add HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_CENTRAL and HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_CENTRAL which are the centers of the ideographic em-box and face box.
Matthias Clasen f81578fd 2022-02-13T19:15:36 [ot-layout] Synthesize missing baselines Add a variation of hb_ot_layout_get_baseline that synthesizes missing baselines, using heuristics in part taken from the CSS Inline Layout Module, Level 3. Includes some new tests for synthesized baselines. The base2.ttf is a subset of Noto Sans Bengali that includes just the Bengali Ka. New API: hb_ot_layout_get_baseline_with_fallback
Behdad Esfahbod 5de67c89 2022-02-16T17:07:17 [ot-layout] Remove commented-out prototypes Not gonna happen.
Behdad Esfahbod d2998faa 2022-02-16T14:37:09 Merge pull request #3410 from harfbuzz/boring-expansion [Boring Expansion] >64k loca & hmtx tables This does two things: The num-glyphs reported by the face now is the maximum reported by the maxp and that deduced from the length of the loca table; I think this is the right thing to do anyway; According to OpenType such loca tables are invalid. The interpretation hmtx tables that have excessive bytes at the end, again, invalid according to OpenType, has changed. Previously we were interpreting those excessive bytes as extra lsb values. Now we interpret them as extra advance values, the last of which is repeated for all missing glyphs. Again, these are tables that are invalid according to OpenType, and the advances are for glyph indices beyond maxp table's num-glyphs. The combined effect is that the font can have shapes and advances for gid's beyond the maxp limit of 64k. In fact, maxp table becomes optional.
Behdad Esfahbod 98079109 2022-02-13T18:15:32 [ot-layout] Add +hb_ot_layout_get_horizontal_baseline_tag_for_script() New API: +hb_ot_layout_get_horizontal_baseline_tag_for_script()
Matthias Clasen 9909e332 2022-02-15T18:02:09 Improve docs for hb_ot_layout_get_ligature_carets Add some relevant details to the documentation for this function. Fixes: #3168
Behdad Esfahbod a396543a 2022-02-15T18:47:55 Merge pull request #3411 from harfbuzz/draw [draw] Finish and release draw API
Behdad Esfahbod f567b556 2022-02-15T18:26:43 [face] Use max numGlyphs of maxp and loca
Behdad Esfahbod c8fd8c13 2022-02-15T18:02:53 [ot-face] Use core tables
Behdad Esfahbod 2a430790 2022-02-15T17:33:52 [machinery] Add "core table" machinery To be used in subsequent commit; or tried anyway.
Behdad Esfahbod 67eb9acf 2022-02-15T17:17:49 [config] Add HB_NO_BORING_EXPANSION
Behdad Esfahbod 8b7ccc41 2022-02-15T14:15:12 [hmtx] Implement [boring-expansion] >64k expansion This implements https://github.com/be-fonts/boring-expansion-spec/issues/7
Behdad Esfahbod 431c948e 2022-02-14T14:13:04 [hmtx] Document
Behdad Esfahbod be4ddcc3 2022-02-14T14:12:07 [hmtx] Rename internal num_advances to num_long_metrics
Behdad Esfahbod 622cbc48 2022-02-14T14:09:40 [hmtx] Internal rename num_metrics to num_bearings
Behdad Esfahbod ed6d287d 2022-02-02T14:10:16 [ot-face] Load num-glyphs from `loca` table before `maxp` Implements [boring-expansion] [maxp] Relax https://github.com/be-fonts/boring-expansion-spec/issues/6
Behdad Esfahbod 93962977 2022-02-13T19:38:59 Remove return of void
Ebrahim Byagowi d4588204 2022-02-13T23:49:41 [draw/glyf] Emit empty contours This makes it actually match freetype behaviour even though rasterizer should filter such contours specially for stroking. See https://github.com/harfbuzz/harfbuzz/pull/3411#discussion_r802283827 for the context.
Behdad Esfahbod 94517850 2022-02-13T13:39:26 [algs] Fix typo in hb_pair_t conversion operator Fixes https://github.com/harfbuzz/harfbuzz/issues/2083
Khaled Hosny f942874f 2022-02-12T01:43:11 [draw] Fix some introspection warnings
Behdad Esfahbod 0858463a 2022-02-11T14:42:15 [draw/glyf] Don't skip empty contours of size 2 See: https://github.com/harfbuzz/harfbuzz/pull/3411#discussion_r804988217
Behdad Esfahbod 57aa8c3b 2022-02-10T19:04:52 [draw] Another try at a stable draw moveto semantic
Behdad Esfahbod 151f2058 2022-02-10T16:27:18 [draw] Emit move_to immediately, like other operators
Behdad Esfahbod 2bed4f46 2022-02-02T21:42:48 [draw] Fix draw signatures
Behdad Esfahbod e0ac6c58 2022-02-02T18:57:12 Remove remaining traces of HB_EXPERIMENTAL_API
Behdad Esfahbod 27dfd69f 2022-02-02T18:13:46 [draw] Another Since: tag update
Behdad Esfahbod 7ac23f4e 2022-02-02T18:12:03 [draw] Whitespace
Behdad Esfahbod e157b503 2022-02-02T16:16:57 [draw] Remove return value of hb_font_draw_glyph()
Behdad Esfahbod ddc36df3 2022-02-02T16:15:04 [draw] Move hb_font_draw_glyph() to hb-draw-glyph.cc
Behdad Esfahbod 9a1508a2 2022-02-02T16:12:42 [draw] Replace API Since tags with REPLACEME
Behdad Esfahbod a428c119 2022-02-02T16:09:46 [main] Fix compiler warnings
Behdad Esfahbod 35190dc9 2022-02-02T16:08:40 [draw] Convert API to float instead of hb_position_t
Behdad Esfahbod d6e49b82 2022-02-02T15:45:43 [font] Add em_fscalef_[xy] That take and return float
Behdad Esfahbod 6c0b65a6 2022-02-02T15:42:33 [font] Add em_scaleff() that returns float
Behdad Esfahbod dd7b6e2c 2022-02-02T14:46:10 [draw] Remove EXPERIMENTAL_API tag
Khaled Hosny 628847b5 2022-02-08T22:09:49 [doc] Link to respective draw callback functions
Khaled Hosny 7245298e 2022-02-08T21:38:57 [doc] Document HB_DRAW_STATE_DEFAULT
Khaled Hosny 8e892bdb 2022-02-08T19:36:29 [doc] Message draw documentation a bit
Behdad Esfahbod cdf1cb35 2022-02-07T19:05:52 [draw] Destroy callback data
Behdad Esfahbod c56c1375 2022-02-07T18:38:00 [draw] Document more
Behdad Esfahbod 23762305 2022-02-07T18:23:26 [draw] Flesh out docs a bit
Behdad Esfahbod bc6c3b84 2022-02-07T18:04:36 [font] Update get_glyph_shape() doc
Behdad Esfahbod 732c749e 2022-02-07T18:02:37 [font] Adjust synthetic-slant docs
Behdad Esfahbod 59067db9 2022-02-07T17:55:01 [font/draw] Slant drawings Need to update hb_font_set_synthetic_slant() docs now that we do this.
Behdad Esfahbod aa5c7a38 2022-02-07T17:53:38 [draw-session] Add slant
Behdad Esfahbod 4f2704ad 2022-02-06T13:13:34 [draw] Add more reserved items to hb_draw_state_t Since these are free basically.
Behdad Esfahbod 2ce19f28 2022-02-05T15:01:15 [font/draw] Fetch shape from parent font if not implemented in font
Behdad Esfahbod d6b61dff 2022-02-05T13:46:48 [draw] Minor cleanup
Behdad Esfahbod 6d5b998f 2022-02-04T18:44:38 [ft/draw] Implement hb-draw for hb-ft
Behdad Esfahbod 370bec93 2022-02-04T18:40:44 [draw] Rename internal draw_session_t to hb_draw_session_t
Behdad Esfahbod a357e5d8 2022-02-03T14:42:56 [draw] Do quadratic-to-cubic conversion in nil quadratic implementation
Behdad Esfahbod c681331c 2022-02-03T14:36:12 [draw] Rename internal draw_helper_t to draw_session_t
Behdad Esfahbod f1a9a9cc 2022-02-03T14:10:40 [draw-state] Pass state down to callbacks
Behdad Esfahbod a9dd9f0b 2022-02-03T13:58:36 [draw] Add public move_to/line_to/... API that take a draw-state
Behdad Esfahbod ebc2a133 2022-02-03T13:00:39 [draw] Rename internal methods
Behdad Esfahbod 86fcd4fe 2022-02-03T12:54:32 [draw] Simplify start_path
Behdad Esfahbod 1740916e 2022-02-03T12:50:47 [draw] Remove check for no-op This is unnecessary overhead. Up to rasterizers to handle this. Plus, this throws off point-numbers in uses that rely on it. Disabled one test that broke with this.
Behdad Esfahbod fc78592e 2022-02-03T12:43:25 [draw-state] Add type and use in draw-helper
Behdad Esfahbod a755f93e 2022-02-03T10:28:07 [draw] Add TODO
Behdad Esfahbod cdb1a1fc 2022-02-03T01:25:37 [draw] Add REPLACEME
Behdad Esfahbod 8b4f4290 2022-02-03T01:14:47 [draw] Virtualize hb_font_draw_glyph() into hb_font_get_glyph_shape() To be implemented in hb-ft.
Behdad Esfahbod 92e6e53b 2022-02-03T00:23:13 [draw] Rename user_data to draw_data
Behdad Esfahbod 3b915389 2022-02-03T00:03:13 [draw] Remove unneeded roundf() calls
Behdad Esfahbod 7af165db 2022-02-12T21:25:24 Fix compiler warning
Khaled Hosny 0a129961 2022-02-13T00:30:50 3.4.0
Khaled Hosny 41815a0d 2022-02-13T00:00:01 [name] Extraneous (out) annotation in return value
Behdad Esfahbod b263371b 2022-02-12T15:06:47 Merge pull request #3398 from harfbuzz/buffer-verify Add HB_BUFFER_FLAG_VERIFY
Behdad Esfahbod 42b119ed 2022-02-12T14:18:02 [hmtx] Remove other subset-specific method from hmtx accelerator