|
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.
|
|
7dfd9e70
|
2022-01-13T14:17:51
|
|
[reorganization] WIP move single substitution into separate files.
|
|
3ef180db
|
2022-01-13T15:22:55
|
|
[reorg] Move SingleSubst opentype fields to top of the classes.
|
|
c36844d6
|
2022-03-23T07:20:59
|
|
4.1.0
|
|
0fec8ad8
|
2022-03-22T13:44:22
|
|
Remove old TODO file
|
|
d35c73cd
|
2022-03-22T10:20:28
|
|
[buffer] Whitespace
|
|
280355b3
|
2022-03-21T22:03:00
|
|
Merge pull request #3497 from harfbuzz/vertical-origin
[ot-font] Fix vertical-origin fallback to match FreeType
|
|
36b8f974
|
2022-03-21T21:50:04
|
|
Update tests for recent changes
|
|
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
|
|
98b48524
|
2022-03-21T17:17:39
|
|
[indic] Test clearing syllables earlier
|
|
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
|
|
a34eea30
|
2022-03-11T19:57:53
|
|
[doc] Add experimental repacker API to private section
Hides the warning about them until they are no longer experimental.
|
|
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
|
|
43024664
|
2022-03-06T05:24:35
|
|
Merge pull request #3464 from luzpaz/typos
Fixed various misc. typos
|
|
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`
|
|
75639527
|
2022-03-02T12:56:33
|
|
Minor [ci skip]
|
|
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
|
|
924dd71d
|
2022-02-25T04:31:24
|
|
Merge pull request #3423 from harfbuzz/revert-ci-msvc
Revert "[ci] Downgrade pip on MSVC jobs"
|
|
222301bf
|
2022-02-24T12:55:01
|
|
Merge pull request #3429 from harfbuzz/external_plan
[subset] expose subset plan in public subsetting API
|
|
78f3d7f0
|
2022-02-21T18:21:03
|
|
Merge pull request #3459 from jameshilliard/icu-defs-mutliarg
[meson] handle multiple element ICU DEFS
|
|
256dcde1
|
2022-02-21T00:07:03
|
|
[meson] handle multiple element ICU DEFS
|
|
d4cb0772
|
2022-02-18T18:25:56
|
|
Add a missing file
The style test is using notosansitalic.ttf now,
but I forgot to add it with the test. Fix that.
|
|
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
|
|
c0b2f50c
|
2022-02-18T12:29:14
|
|
[util] Rename template typenames to avoid clashing with actual types
Apparently MSVC2015 can confuse them
Fixes https://github.com/harfbuzz/harfbuzz/issues/3379
|
|
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
|
|
da801cde
|
2022-02-17T13:30:40
|
|
Merge pull request #3449 from fanc999/msvc-meson-use-cmake
Meson: Use CMake more to find dependencies on Windows
|
|
e6aa4b7d
|
2022-02-17T15:28:42
|
|
BUILD.md: Mention that installing CMake is recommended for MSVC
We are using CMake to help us find dependencies in Meson builds on Visual
Studio, so let people know that it's recommended.
|
|
d24ac4aa
|
2022-02-17T16:18:41
|
|
freetype2.wrap: Provide fallback for CMake dep as well
Add a freetype identifier in the 'provides' section so that the fallback will
kick in if FreeType is requested but was not found, and wrap mode is not
disabled.
|
|
f0573d84
|
2022-02-17T14:39:31
|
|
meson: Clean up finding ICU-UC on Visual Studio
Nowadays Meson has much better CMake support which we can use to find
dependencies on Visual Studio builds (and Visual Studio 2017 and later provides
CMake as an optional install item), so we can use it to help us find ICU-UC
on Visual Studio builds, since CMake has built-in support for finding it by
the components we need for some time.
|
|
561e8ba8
|
2022-02-17T14:19:35
|
|
meson: Cleanup finding FreeType on Visual Studio
Nowadays, CMake is much better supported with Meson and is a common tool on
Windows (it is even an optionally-installed item for Visual Studio 2017+), so
make use of that to find FreeType. The package to search for, however, is
`freetype` instead of `freetype2`.
|
|
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()
|
|
cfa8cd7f
|
2022-02-16T11:42:36
|
|
[autotools] Fix make distcheck
The test-draw.c can now optionally uses hb-ft, but automake file was not
passing FreeType cflags or libs to it.
|
|
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.
|
|
67eb9acf
|
2022-02-15T17:17:49
|
|
[config] Add HB_NO_BORING_EXPANSION
|
|
1bf588e2
|
2022-02-15T16:57:23
|
|
[test/shape] Internal rename
Residual from e0d7060f80f8c4b9b8241c3a4d8faa33f48da86d
|
|
d12c51e6
|
2022-02-15T14:31:59
|
|
[ci] Rename configs-ci to configs-build
Since it doesn't run any tests.
|
|
197ed8f5
|
2022-02-15T14:30:12
|
|
[test/api] Fix leaks
|
|
531c27d1
|
2022-02-15T14:20:54
|
|
Fix build
|
|
8b7ccc41
|
2022-02-15T14:15:12
|
|
[hmtx] Implement [boring-expansion] >64k expansion
This implements https://github.com/be-fonts/boring-expansion-spec/issues/7
|
|
379e526a
|
2022-02-14T15:02:31
|
|
[test] Add test for current hmtx logic
|
|
431c948e
|
2022-02-14T14:13:04
|
|
[hmtx] Document
|
|
be4ddcc3
|
2022-02-14T14:12:07
|
|
[hmtx] Rename internal num_advances to num_long_metrics
|
|
622cbc48
|
2022-02-14T14:09:40
|
|
[hmtx] Internal rename num_metrics to num_bearings
|
|
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
|
|
93962977
|
2022-02-13T19:38:59
|
|
Remove return of void
|
|
c8b6036c
|
2022-02-14T02:17:38
|
|
[meson] Update Cairo subproject
Fixes another color fonts issue.
|
|
6b75a30a
|
2022-02-14T01:38:06
|
|
[draw/test] Swap a freetype test case with a simpler one
As CI failure, apparently the my local freetype and CI one have different
result so let's switch the case with a simpler one just to test quadratic command
is emitted correctly.
|
|
ae223764
|
2022-02-13T15:39:14
|
|
[test/draw] Typo
|
|
0429921c
|
2022-02-14T00:16:35
|
|
[draw/test] Add test for freetype callback
Let's have that part of the code also covered.
|
|
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.
|