Ebrahim Byagowi
cb70433740
Merge _get_position_internal into _get_position
5 years ago
Ebrahim Byagowi
ac3518af58
Define post table only when used
5 years ago
Ebrahim Byagowi
471f798ace
Merge ot-metrics-internal.cc with ot-metrics now that isn't needed in subset
5 years ago
Ebrahim Byagowi
29444d7e9f
Don't cache ascender/descender metrics
5 years ago
Ebrahim Byagowi
5e28c2654d
[doc] minor, improve hb-ot-metrics doc a bit
5 years ago
Ebrahim Byagowi
ac8b6e330a
Merge pull request #1844 from ebraminio/hhea
...
Fallback hhea's ascender/descender to OS2
5 years ago
Ebrahim Byagowi
08b48e89d3
[os2] minor spacing tweaks
5 years ago
Ebrahim Byagowi
54b9ab704d
Fallback hhea's ascender/descender to OS2
5 years ago
Behdad Esfahbod
ec8dde8142
[metrics] Fall back to hhea if OS2 metrics are empty
...
Reinstates previous logic, even if it might be unnecessary.
5 years ago
Ebrahim Byagowi
2e5b49d11d
Add HB_NO_METRICS and fix HB_TINY build ( #1839 )
5 years ago
Ebrahim Byagowi
bdfdac0f26
[ci][fuzzer] print valgrind failure if an error happened
5 years ago
Behdad Esfahbod
2bd953ff4f
[metrics] Fix weird use of xor
...
I believe that was a try to use one approach as fallback to other. But
felt wrong. Just believe what's in OS/2 table to be correct.
5 years ago
Behdad Esfahbod
9675a067bf
[ot-metrics] Touch up
5 years ago
Ebrahim Byagowi
87e628436e
Implement a simple API for fetching opentype metrics
...
Fixes https://github.com/harfbuzz/harfbuzz/pull/1432
5 years ago
David Corbett
ed67efcc8c
Revert "[Myanmar] Prevent reordering between Asat and Dot below"
...
This reverts commit 1c8654ead4
.
5 years ago
Ebrahim Byagowi
504bb17287
[ci] Bring back -linux-arm64 bot
...
Let's see if 576065b
has fixed it
5 years ago
Behdad Esfahbod
6157bbe512
Revert "Revert previous change"
...
This reverts commit b8e90ca1a1
.
Works now.
5 years ago
Behdad Esfahbod
576065b442
[iter] Fix reduce type deduction
5 years ago
Ebrahim Byagowi
4552864c82
[ci] Disable -linux-arm64 bot
...
This is its failure https://circleci.com/gh/harfbuzz/harfbuzz/99864
Trying to fix like ee05627
, interestingly, makes the bot and the
others to fail like this https://circleci.com/gh/harfbuzz/harfbuzz/99841
5 years ago
Ebrahim Byagowi
b8e90ca1a1
Revert previous change
...
Interestingly all of the bots disagreed with the change and the complain is... weird.
5 years ago
Ebrahim Byagowi
ee05627aff
Improve syntax to make out linux-arm64 a little happy
...
Decided to apply is we did the same on other places however this won't
fix all of its complains
5 years ago
Ebrahim Byagowi
6a6bf7b7bc
Downgrade -Wdeprecated-declarations to warning
...
Fixes #1834 at least till fix of #1829
5 years ago
Behdad Esfahbod
25e2562fdf
[amalgam] Fix redundant-declaration warning/error
5 years ago
Ali Javadi
c184180228
Fix C++20 compile warning on implicit capture of this with '=' default capture ( #1833 )
...
Happens when compiled with -std=c++2a, the fix just makes the captures explicit to resolve the issue. Just adding this in addition to = doesn't work in C++11.
src/hb-ot-layout-gpos-table.hh:737:18: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
{ return (this+_).intersects (glyphs, valueFormat); })
^
src/hb-ot-layout-gpos-table.hh:736:16: note: add an explicit capture of 'this' to capture '*this' by reference
| hb_map ([=] (const OffsetTo<PairSet> &_)
^
, this
5 years ago
Ebrahim Byagowi
1f94388516
[usp] define atfree callback only if used
5 years ago
Qunxin Liu
1da1b4dc94
[subset] For option "--unicodes", add support for "*" to retain all code points
5 years ago
Behdad Esfahbod
4730b350b7
Revert "Update Graphite API to latest ( #1215 )"
...
This reverts commit e4e74c2751
.
See https://github.com/harfbuzz/harfbuzz/issues/1829
5 years ago
Ebrahim Byagowi
f8242b61ab
[fuzz] Increase subset runner timeout for tsan bot
...
Now is flaky let's just increase and maybe investigate later
5 years ago
Ebrahim Byagowi
b65bad18aa
[fuzz] Don't fail when blob is empty
...
And enable more tests able to trig the issue.
5 years ago
Ebrahim Byagowi
7a9d643c29
Fix unintialized memory read in cmap subset ( #1826 )
5 years ago
Ebrahim Byagowi
a6065d05cf
Don't call memcpy when a table is empty
5 years ago
Ebrahim Byagowi
c85f624b51
Force blob generation and memory check in hb-subset-fuzzer
5 years ago
Dominik Röttsches
2e7021da7d
Revert "Minor" - revert moving extern "C" definitions in-function
...
This reverts commit 62e60322cb
since it
breaks building HarfBuzz as part of Chromium.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1821 .
5 years ago
Behdad Esfahbod
f18ea1dd3a
[font] Remove division when scaling
...
Yoohoo. This seems to be precise enough! Let's see if it sticks.
I'm asking Dominik to run this in Chrome test suite and report.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1801
5 years ago
Behdad Esfahbod
b847769292
[font] Keep font-space to user-space multiplier
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1801
5 years ago
Behdad Esfahbod
df6edcd44c
Make face immutable in hb_font_set_face()
5 years ago
Behdad Esfahbod
0d425e1eea
[ot-font] Optimize rounding
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1801
The assumption that compiler optimizes "upem/2" to a shift only
works if upem is unsigned... Anyway, spoon-feed the compiler.
5 years ago
Simon Sapin
144326e215
Clusters are reversed based on the direction, not script
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1818
5 years ago
Simon Sapin
cf1a782a5c
Docs: fix a typo in function name
5 years ago
Simon Sapin
ffa736f151
hb_set_previous_range docs: fix presumed copy/paste error
5 years ago
Simon Sapin
641f337380
Docs typo fix: slower → lower
5 years ago
Ebrahim Byagowi
9fea6b4dd4
[amalgam] Use it in cmake port and fix conflicts ( #1812 )
5 years ago
Behdad Esfahbod
b240d701fd
[amalgam] Include integration source files as well
...
Just for those that are normally built into libharfbuzz itself.
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
d515242045
[amalgam] Rename hb.cc to harfbuzz.cc
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
4cb180d227
Revert "Use constexpr to replace passthru_ bools"
...
This reverts commit c4aa10ebc8
.
Broke several compilers... Sigh. The version without constexpr
didn't fully optimize out the unreachable code on clang.
So, revert it is...
5 years ago
Behdad Esfahbod
c4aa10ebc8
Use constexpr to replace passthru_ bools
5 years ago
Behdad Esfahbod
2e48fd0779
Sprinkle constexpr around
...
Being conservative. Also not sure it makes any real difference
in our codebase.
5 years ago
Behdad Esfahbod
df4448064e
Remove unused 'inline' specifier
5 years ago
Behdad Esfahbod
04a4957040
[amalgam] Add hb.cc to git
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
62e60322cb
Minor
5 years ago