|
4d48fae4
|
2022-04-20T11:35:19
|
|
Enforce Regional_Indicators native direction to LTR
And undo the morx direction reversal change introduced in
https://github.com/harfbuzz/harfbuzz/pull/3315
23159084b43c1ce429d9e98035bf845919fd8a89
This fixes original bug https://github.com/harfbuzz/harfbuzz/issues/3314
And the reversion in morx code fixes regressions:
https://github.com/harfbuzz/harfbuzz/issues/3528
https://github.com/harfbuzz/harfbuzz/issues/3535
Supersedes:
https://github.com/harfbuzz/harfbuzz/pull/3529
|
|
8575a8f5
|
2022-04-21T11:14:09
|
|
Add _hb_codepoint_is_regional_indicator()
|
|
c1ee7d28
|
2022-04-20T13:38:05
|
|
Typo
Co-authored-by: Khaled Hosny <khaled@aliftype.com>
|
|
a85461b9
|
2022-04-20T12:13:16
|
|
Add link to Context LookupFlag discussion
https://github.com/harfbuzz/harfbuzz/discussions/3538
|
|
9e59c401
|
2022-04-20T16:56:34
|
|
[myanmar] Reword confusing comment about masks
|
|
903cf8cf
|
2022-04-13T15:31:51
|
|
[check-static-inits] Unbreak test
|
|
ec925ece
|
2022-04-13T11:51:48
|
|
[khmer] Reinstate a pause after basic features
This was removed as part of 044d7a06db552e1564b8575f4d23798f009d9dde,
which caused the regression. Just adding a pause fixes the shaping.
Debugged by just tracing the good/bad shaping and observing the
lookup orders intermingling in the bad shaping.
Test:
hb-shape LeelawUI.ttf --unicodes U+1780,U+17D2,U+179A,U+17BB
Fixes https://github.com/harfbuzz/harfbuzz/issues/3531
|
|
88bb746b
|
2022-04-01T02:18:37
|
|
[blob] Return nullptr from create_from_file_or_fail
Fix a couple of cases where it would return empty blob, possibly
missed in bdfed8f113431a2156e13d59a4b21e19feb7efd9.
|
|
b179d357
|
2022-03-30T12:59:52
|
|
[main] Fix unused-variable warnings
|
|
9d5730b9
|
2022-03-30T15:08:34
|
|
4.2.0
|
|
044d7a06
|
2022-03-28T12:38:56
|
|
[indic-like] Add per-lookup per-syllable flag
This allows mix-and-matching per-syllable and other lookups.
In fact, removes the clear-syllables call completely.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3513
|
|
61486746
|
2022-03-28T15:57:07
|
|
Revert "[indic] Clear syllables before presentation features"
This reverts commit 90f09b1e877dc6edf63fc4ac2b397ef4e5c92083.
This regressed Indic shaping. See:
https://github.com/harfbuzz/harfbuzz/issues/3513
|
|
e8f3397f
|
2022-03-28T12:07:05
|
|
[matcher] Simplify syllable initialization
|
|
94f5c630
|
2022-03-28T11:25:44
|
|
[aat] Remove morx deleted-glyphs before GPOS processing
Fixes new Apple Color Emoji glyphs sequences rendering.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3512
|
|
0dcbdbde
|
2022-03-26T20:56:50
|
|
[indic] Categorize U+0D04 as Consonant_Placeholder
|
|
a665e29e
|
2022-03-23T17:30:25
|
|
[use] Avoid O(n^2) in the machine
Fixes https://github.com/harfbuzz/harfbuzz/issues/3502
|
|
ccd9161b
|
2022-03-24T13:10:48
|
|
[apply-lookup] Try to fix the logic for contextual lookups
Fixes https://github.com/harfbuzz/harfbuzz/issues/1611
Notably, this fixes Myles's AdditionFont:
https://litherum.blogspot.com/2019/03/addition-font.html
Test with AdditionFont, eg.:
$ util/hb-view AdditionFont.otf =1112112+1113134=
|
|
fa15fc44
|
2022-03-25T15:00:11
|
|
[subset] Require exact harfbuzz version in .pc file
Fixes https://github.com/harfbuzz/harfbuzz/issues/1446
|
|
b619b05f
|
2022-03-25T14:56:55
|
|
[subset] Adjust name in .pc file
|
|
12290786
|
2022-03-25T22:41:25
|
|
[set] Fix annotation
|
|
3a78cf92
|
2022-03-25T12:56:44
|
|
[gvar] Fix decoding of private vs shared points
Fixes https://github.com/harfbuzz/harfbuzz/issues/3506
|
|
a02fb4a0
|
2022-03-25T12:56:19
|
|
[glyf] Don't bail rendering glyf even if gvar failed
Part of https://github.com/harfbuzz/harfbuzz/issues/3506
|
|
0a388785
|
2022-03-25T09:42:36
|
|
[set] Minor touch-up on the previous commit
|
|
01829882
|
2022-03-25T08:36:44
|
|
[set] Add call to export set contents to an array. (#3500)
[set] Add hb_set_next_many.
|
|
a55a4244
|
2022-03-24T20:16:41
|
|
Meson build writes to the source directory (issue #3507 ) (#3508)
Don't write to source directory if files did not change
Remove writes to the source directory which cause a meson build failure
if the source directory is read-only.
https://github.com/harfbuzz/harfbuzz/pull/3508
|
|
bf2a845a
|
2022-03-24T13:09:53
|
|
[ot-layout] Comment
|
|
a792e16e
|
2022-03-24T13:08:51
|
|
[ot-layout] Change max nesting level of lookups from 6 to 64
|
|
444c2375
|
2022-03-23T16:49:13
|
|
[reorg] Use relative includes for hb-ot-layout-gsubgpos.hh
|
|
b342adeb
|
2022-03-23T16:28:22
|
|
[reorg] Move GSUB into OT::Layout::GSUB namespace.
|
|
a9910e25
|
2022-03-23T16:09:41
|
|
[reorg] Move SubstLookup and GSUB into the new layout.
|
|
90af2143
|
2022-03-23T15:28:29
|
|
[reorg] Move ReverseChainSingleSubst to new layout.
|
|
403feb38
|
2022-03-23T15:19:04
|
|
[reorg] Move LigatureSubst to new layout.
|
|
6a369389
|
2022-03-23T15:04:11
|
|
[reorg] Move AlternateSubst to new layout.
|
|
dea0681d
|
2022-03-23T14:48:58
|
|
[reorg] Move MultipleSubst into new layout.
|
|
7243bf3e
|
2022-01-26T08:26:50
|
|
[reorg] Use relative include
|
|
c180f937
|
2022-01-26T08:22:40
|
|
[reorg] Move sanitize/dispatch and size macros to top
|
|
f577d02f
|
2022-01-20T14:39:48
|
|
[reorg] Fix check-* scripts to work with sources files in directories.
|
|
3ef180db
|
2022-01-13T15:22:55
|
|
[reorg] Move SingleSubst opentype fields to top of the classes.
|
|
7dfd9e70
|
2022-01-13T14:17:51
|
|
[reorganization] WIP move single substitution into separate files.
|
|
c36844d6
|
2022-03-23T07:20:59
|
|
4.1.0
|
|
d35c73cd
|
2022-03-22T10:20:28
|
|
[buffer] Whitespace
|
|
1449498e
|
2022-03-21T21:40:07
|
|
[ot-font] Vertically center glyph in vertical writing fallback
Fixes https://github.com/harfbuzz/harfbuzz/issues/537
|
|
bf03d7e9
|
2022-03-21T21:27:31
|
|
[ot-font] Use ascent+descent for fallback vertical advance
This matches what FreeType does.
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/537
|
|
df42d28d
|
2022-03-21T21:17:15
|
|
[hmtx] Change default advance for horizontal direction to upem/2 again
|
|
6d0e67de
|
2022-03-21T21:07:11
|
|
[ot-font] Only use vmtx side-bearing if table exists
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/537
|
|
f41945e3
|
2022-03-21T18:24:30
|
|
[cmap] In collect_unicodes() of format 12/13, limit to max Unicode
Fixes fuzzer timeout:
https://oss-fuzz.com/testcase-detail/5062368881672192
|
|
03085132
|
2022-03-21T18:06:33
|
|
[buffer] Fix out-buffer under memory-alloc failure
This was broken in July refactoring of the buffer, and exposed to
ReverseChainSingleSubstFormat1 in 3807061d634b60bd6235d6e1d8c47a034377f924
Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38800
https://bugs.chromium.org/p/chromium/issues/detail?id=1303552
|
|
116cc692
|
2022-03-22T00:11:26
|
|
[set] Fix documentation
|
|
90f09b1e
|
2022-03-21T10:24:23
|
|
[indic] Clear syllables before presentation features
Fixes https://github.com/harfbuzz/harfbuzz/issues/3488
|
|
4289684c
|
2022-03-21T15:37:05
|
|
[set] Fix-up previous commits
|
|
1176620b
|
2022-03-21T14:31:47
|
|
Move fn, fix doc.
|
|
7d802994
|
2022-03-21T13:55:34
|
|
Remove null checks.
|
|
ef588ea9
|
2022-03-21T13:29:22
|
|
Add option to insert a sorted arrays of values to sets.
|
|
7a1e79c3
|
2022-03-21T13:18:04
|
|
Fix typo.
|
|
4ee00f94
|
2022-03-21T13:16:28
|
|
Use bit shifting instead of multiplying and dividing.
|
|
3125f5ae
|
2022-03-21T13:12:14
|
|
Add log base 2 versions of constants.
|
|
1ffe637a
|
2022-03-21T10:37:42
|
|
[coretext] Remove dead code
Fixes https://github.com/harfbuzz/harfbuzz/issues/3484
|
|
7bdc20ec
|
2022-03-19T17:47:04
|
|
restores unintended addition in 43be5ba
restores two lines in restore in _hb_allocate_lig_id function that were unintentionally deleted in 43be5ba
|
|
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()
|
|
cad2fe8e
|
2022-03-15T10:49:29
|
|
[baseline] Fix HB_NO_METRICS build
Fixes https://github.com/harfbuzz/harfbuzz/issues/3482
|
|
a8a89b80
|
2022-03-15T10:48:03
|
|
[layout] Whitespace
|
|
21f5ef56
|
2022-03-15T10:45:50
|
|
[metrics] Simplify x-height fallback
|
|
6bf8f0a3
|
2022-03-15T10:44:41
|
|
[baseline] Use ot-metrics fallback API
|
|
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.
|
|
49fb8f90
|
2022-03-13T15:01:11
|
|
[USE] Treat visible viramas like dependent vowels
|
|
1f79ba94
|
2022-03-11T20:19:04
|
|
4.0.1
|
|
a35757c6
|
2022-02-02T10:30:34
|
|
[repacker] expose hb_subset_repack() API, hb_object_t and hb_link_t structs
|
|
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
|
|
e5707a44
|
2022-03-02T21:30:22
|
|
Update IANA Language Subtag Registry to 2022-03-02
|
|
13bb46cf
|
2022-03-06T15:35:31
|
|
[USE] Remove obsolete overrides
|
|
c33468d4
|
2022-03-06T12:26:37
|
|
[USE] Treat all gc=Cn as independent clusters
|
|
e497a8f1
|
2022-03-06T11:36:43
|
|
[USE] Remove obsolete symbol/punctuation overrides
|
|
854219e0
|
2022-03-05T10:46:31
|
|
[USE] Simplify `not_ccs_default_ignorable`
|
|
6e059a46
|
2022-03-04T19:18:40
|
|
[USE] Allow any non-numeric tail in symbol cluster
|
|
5b0a5981
|
2022-03-04T20:45:30
|
|
[USE] Restore the category WJ
|
|
05b3bdb0
|
2022-03-06T03:10:48
|
|
[aat] Update OT to AAT mappings for hist and vrtr
|
|
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`
|
|
8d1b000a
|
2022-03-01T21:27:32
|
|
4.0.0
|
|
6e466256
|
2022-03-01T12:01:18
|
|
[doc] Typo
|
|
f6071c16
|
2022-02-28T14:45:40
|
|
[subset] Rename codepoint -> unicode in subset plan api
|
|
1b5a2e08
|
2022-02-25T04:22:33
|
|
[doc] Various fixes to newly added documentation
|
|
222301bf
|
2022-02-24T12:55:01
|
|
Merge pull request #3429 from harfbuzz/external_plan
[subset] expose subset plan in public subsetting API
|
|
651c280d
|
2022-02-18T18:21:46
|
|
[style] Move the negation into the constant
|
|
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.
|
|
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.
|
|
56f11ec9
|
2022-02-18T14:08:43
|
|
[buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
|
|
fc1548cf
|
2022-02-17T17:16:31
|
|
[subset] document return values.
|
|
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
|
|
f8e9e315
|
2022-02-17T14:34:46
|
|
Merge pull request #3437 from matthiasclasen/synthesize-missing-baselines
[BASE] Synthesize missing baselines
|
|
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
|
|
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.
|
|
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
|
|
5de67c89
|
2022-02-16T17:07:17
|
|
[ot-layout] Remove commented-out prototypes
Not gonna happen.
|
|
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.
|
|
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()
|
|
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
|
|
a396543a
|
2022-02-15T18:47:55
|
|
Merge pull request #3411 from harfbuzz/draw
[draw] Finish and release draw API
|
|
f567b556
|
2022-02-15T18:26:43
|
|
[face] Use max numGlyphs of maxp and loca
|
|
c8fd8c13
|
2022-02-15T18:02:53
|
|
[ot-face] Use core tables
|
|
2a430790
|
2022-02-15T17:33:52
|
|
[machinery] Add "core table" machinery
To be used in subsequent commit; or tried anyway.
|