Khaled Hosny
ea4476d738
[autotools] Don’t fallback to icu-config
...
ICU pkg-config support have been available for a long time, and
icu-config often breaks cross-compiling when the one from host system is
found.
4 years ago
Chun-wei Fan
2953a66ab6
CMake: Define HAVE_GOBJECT when harfbuzz-gobject is built
...
Without this, the built library for harfbuzz-gobject is unuseful.
4 years ago
Behdad Esfahbod
25c0a792e3
Remove unused+wrong UnsizedArrayOf<> operators
...
Said compiler is wrong to err since they are unused. But yeah, they
didn't make sense and were copy/paste leftover.
Fixes https://github.com/harfbuzz/harfbuzz/issues/2763
4 years ago
Khaled Hosny
07e304b2a4
Merge pull request #2755 from Myaamori/master
...
meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@
4 years ago
Behdad Esfahbod
7c241651ac
[algs] Don't forward rvalue twice
...
Part of https://github.com/harfbuzz/harfbuzz/issues/2293
4 years ago
Behdad Esfahbod
53806e5b83
Tiny improvement on previous commit
...
Functionally the same.
4 years ago
Dominik Röttsches
a5f6f869e8
Drop layout table if layout lookup accelerator allocation failed
...
If the table is kept, when the table is present but only the accelerator
allocation failed, then we run into nullptr dereferences downstream in
hb_ot_map_t::apply when trying to access proxy.accels[i].
To fix this, instead of only setting lookup_count of accelerator_t
itself, drop the whole table to avoid hb-ot-map construction assuming
that the lookups will work correctly despite accelerator allocation
having failed.
Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24490
4 years ago
Myaamori
5f32fdff11
meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@
...
@CURRENT_SOURCE_DIR@ is not listed as a valid string substitution
for custom targets in the Meson reference, and in practice
it does not get substituted when using the vs2019 backend.
4 years ago
David Corbett
b2e7bb2a7c
Don’t map BCP 47 to coincidentally similar OT tag
4 years ago
David Corbett
e1df2c5277
Map ISO 639 code qul to language system tag 'QUH '
4 years ago
Khaled Hosny
bac8a856f8
Revert "[CI] Don’t install ragel on circleci jobs"
...
This reverts commit 9a9da110a5
.
4 years ago
Khaled Hosny
f579c66108
Mark variable unused
...
Hopefully fixes build with newer ragel.
https://github.com/adrian-thurston/ragel/issues/56
Fixes https://github.com/harfbuzz/harfbuzz/issues/2752
4 years ago
David Corbett
f83496a910
[use] Remove workaround for reserved code points
...
See <https://github.com/microsoft/font-tools/issues/12 >.
4 years ago
David Corbett
17da41bd06
Update language system tag registry to OT 1.8.4
4 years ago
Khaled Hosny
385d9c08d8
Merge pull request #2700 from xclaesse/cairo-ft
...
meson: Fix cairo_ft_dep when fontconfig is a subproject
4 years ago
Xavier Claessens
9722b4b269
Meson: Update all wrap files to latest version
4 years ago
Xavier Claessens
a082fe400d
ci: Install meson 0.56.0 in crossbuild-win32
...
It is required for using cairo as subproject.
4 years ago
Xavier Claessens
e2ba0e009e
meson: Fix check for cairo and cairo-ft dependencies
...
When cairo comes from a subproject fallback it should still take
cairo-ft dependency, otherwise it miss freetype2 cflags.
Also update wrap file to use upstream repository now that meson support
has been merged.
This requires Meson >= 0.54.0 because cairo itself requires that version
and we use the new `fallback: 'cairo'` syntax without specifying a
variable name because cairo does not provide a variable name for
cairo-ft.
4 years ago
Khaled Hosny
c4ade4fdd6
Merge pull request #2686 from simoncozens/more-tracing
...
More tracing
4 years ago
Simon Cozens
fd8f4ffcc6
Trace reorder, not normalize
4 years ago
Simon Cozens
2e0193d741
Add more cast spaces
4 years ago
Simon Cozens
4bb6d54e3b
Missing cast
4 years ago
Simon Cozens
8e1bedc50b
Keep phase names
4 years ago
Simon Cozens
428c111f13
Fix spacing around casts
4 years ago
Simon Cozens
f19018da41
Smaller issues from review
4 years ago
Simon Cozens
8b3b835a0a
Trace normalization and preprocessing stages
4 years ago
Simon Cozens
b50099bff2
Trace reordering in pause functions
4 years ago
Khaled Hosny
e6c21d7b58
Merge pull request #2692 from ffontaine/master
...
src/meson.build: allow introspection when cross-compiling
4 years ago
Fabrice Fontaine
0c3dcfae19
Merge remote-tracking branch 'upstream/master'
4 years ago
David Corbett
3bd43bd023
Map more ISO 15924 variants to `hb_script_t`s
4 years ago
David Corbett
27170e058d
Fix names for language tag in gen-tag-table.py
...
A BCP 47 language tag with both a script subtag and a region subtag
would be printed as a human-readable name in hb-ot-tag-table.hh as if it
only had its language subtag.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Fabrice Fontaine
2604201ae0
src/meson.build: allow introspection when cross-compiling
...
introspection can be enabled when cross-compiling on certains conditions
(for example it is supported by buildroot) so, as suggested by
Tim-Philipp Müller, disable it by default for cross builds unless the
option was explicitly enabled by the user
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
4 years ago
Khaled Hosny
8c5d1332f1
Merge pull request #1664 from n8willis/docs-gtkdoc-otvar
...
[Docs] Add gtk-doc comments for hb-ot-var
4 years ago
Khaled Hosny
df00f45e26
Fix annotation in previous commits
4 years ago
Nathan Willis
5a695a79a0
Swap # for () in gtk-doc function mention.
4 years ago
n8willis
379be7b7c8
Update src/hb-ot-var.cc
...
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
4 years ago
Nathan Willis
938add712a
Add GTK-Doc comments for hb-ot-var.
4 years ago
Khaled Hosny
82fe13182d
Merge pull request #1661 from n8willis/docs-gtkdoc-aat
...
[Docs] Add gtk-doc comments for hb-aat-layout
4 years ago
Khaled Hosny
9a1be3fed5
Fix enum documentation syntax
4 years ago
n8willis
3c9244e662
Update src/hb-aat-layout.cc
...
Co-Authored-By: Khaled Hosny <khaledhosny@eglug.org>
4 years ago
Nathan Willis
d619ba0681
Add gtk-doc documentation to AAT layout functions and enums.
4 years ago
Nathan Willis
514e6baaf0
[gtk-doc] document AAT functions and enums.
4 years ago
Behdad Esfahbod
a1f4d285e1
[buffer] Fix invalid write access in hb_buffer_deserialize_glyphs()
...
If buffer is immutable, we were trying to set content_type on it.
Ouch!
4 years ago
Caleb Maclennan
18b8046c6a
Merge pull request #2678 from alerque/post-artifacts
4 years ago
ebraminio
1f8b1e7f18
[ENOMEM] Return gracefully if stages isn't initialized correctly ( #2639 )
...
This happens if calls to 'm.lookups[table_index].push ()' has been
silently failed due to lack of memory.
This change just returns gracefully instead issuing the assert.
Fixes https://crbug.com/oss-fuzz/24494
4 years ago
Khaled Hosny
a0ebea5280
Merge pull request #2665 from khaledhosny/doc-default-features
...
[docs] Improve documentation for default features
4 years ago
Khaled Hosny
f9f473a4c4
[docs] Improve documentation for default features
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2213
4 years ago
Behdad Esfahbod
e40c0d82e2
[ENOMEM] Handle immutable buffer in shape_full()
...
Move the content_type changing to shape_plan_execute() where it belongs.
Skip setting if content type is UNKNOWN, which happens with empty buffers
only, including the immutable buffer.
Alternate fix to https://github.com/harfbuzz/harfbuzz/pull/2606
and https://github.com/harfbuzz/harfbuzz/pull/2625
4 years ago
Garret Rieger
bbbcad0dbb
Revert "[ENOMEM] don't perform set process operations if the other set is in an error state."
...
This reverts commit f3929abafe
.
4 years ago