Behdad Esfahbod
f18eb000d3
[buffer] Mark a variable as unused
...
Weird. Somehow our HB_TINY bot started erring as this var being unused
in non-debug builds. Not sure why now...
In file included from src/hb-ot-map.hh:32:0,
from src/hb-ot-shape.hh:32,
from src/hb-aat-layout.hh:32,
from src/hb-aat-layout.cc:30,
from src/harfbuzz.cc:1:
src/hb-buffer.hh: In member function ‘void hb_buffer_t::assert_var(unsigned int, unsigned int)’:
src/hb-buffer.hh:192:18: error: unused variable ‘bits’ [-Werror=unused-variable]
unsigned int bits = (1u<<end) - (1u<<start);
^~~~
cc1plus: some warnings being treated as errors
Error: Process completed with exit code 1.
3 years ago
Behdad Esfahbod
e6409d3905
Revert "[layout] Use a cache for main input ClassDef of (Chain)ContextLookups"
...
This reverts commit 57d1c08739
.
Err. This was an accident.
3 years ago
Behdad Esfahbod
57d1c08739
[layout] Use a cache for main input ClassDef of (Chain)ContextLookups
3 years ago
Behdad Esfahbod
697287fbd7
[benchmark-shape,hb-shape-threads] Fix argument parsing order
...
After recent change.
3 years ago
Behdad Esfahbod
c03a31417b
[hb-shape-threads] Adjustments similar to benchmark-shape
...
Duplication sighz.
3 years ago
Behdad Esfahbod
d7c9cc34ae
Fix build
3 years ago
Behdad Esfahbod
2dec742070
[benchmark-shape] Remove a few tests
...
They were not adding value.
3 years ago
Behdad Esfahbod
3c258e1373
[benchmark-shape] Reorder text vs font order for better output
3 years ago
Behdad Esfahbod
92e81ab1df
[indic/khmer/myanmar] Shift category numbers around to avoid overlap
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3632
3 years ago
Behdad Esfahbod
d6dbc0d175
[gi/ft] Silence warnings
...
gi doesn't understand that FT_Face is a pointer, and not bare struct.
So it skips these APIs anyway. Mark skip to silense the warning.
../src/hb-ft.cc:242: Warning: HarfBuzz: hb_ft_font_get_face: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
../src/hb-ft.cc:264: Warning: HarfBuzz: hb_ft_font_lock_face: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
3 years ago
Behdad Esfahbod
f78a25098a
[gi] Remove Xconstructor annotations
3 years ago
Behdad Esfahbod
aef92b2846
[ci] Better compiler specification in configs-build job
3 years ago
Behdad Esfahbod
cb961eac5c
[configs] Fix builds with HB_NO_BUFFER_SERIALIZE but not HB_NO_BUFFER_VERIFY
...
e986c12075 (commitcomment-75339317)
3 years ago
Behdad Esfahbod
67852504f6
[indic/myanmar] No-op update to machines
3 years ago
Behdad Esfahbod
20a61ca447
[myanmar] Fold D category into GB
...
Trying to free a byte the buffer vars, for caching of lookups.
Part of https://github.com/harfbuzz/harfbuzz/issues/3633
3 years ago
Behdad Esfahbod
f9b643f6b2
[layout] s/hb_get_subtables_context_t/hb_accelerate_subtables_context_t/g
3 years ago
Behdad Esfahbod
d4dfb8c1f1
[arabic] Free up buffer variable earlier
3 years ago
Behdad Esfahbod
0c3d8c0d0f
[README] Test adding as a symlink
...
Autoconf requires README
3 years ago
Behdad Esfahbod
4510d9a928
[README] Delete. We ship README.md
3 years ago
Behdad Esfahbod
01337e7a64
[README.md] minor
3 years ago
Behdad Esfahbod
3972ec7340
[TESTING.md] Update profiling instructions.
3 years ago
Khaled Hosny
af41be6fa7
Move freedesktop.org/wiki/HarfBuzz content to README.md
3 years ago
Khaled Hosny
9622337b52
Move old harfbuzz.org content to README.md
...
Copied from:
https://web.archive.org/web/20191221151847/https://freedesktop.org/wiki/Software/HarfBuzz/
Edited lightly trying to merge it with existing README.md content and
remove grossly outdated bits. Might still need more editing.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1919
3 years ago
Khaled Hosny
e2ece939fb
[doc] Expand a little bit on Uniscribe compatibility
...
https://github.com/harfbuzz/harfbuzz/issues/3556#issuecomment-1130247124
3 years ago
Khaled Hosny
8d36300154
[doc] Talk less about “complex” scripts
...
Use more neutral terms and don’t make it like some scripts are outliers.
3 years ago
Khaled Hosny
bd44840fab
[doc] s/complexshapers/shapers/g
3 years ago
Behdad Esfahbod
cc7ebb0ffa
Remove remaining mention to complex shapers in the code
...
https://github.com/harfbuzz/harfbuzz/pull/3628#issuecomment-1146248037
3 years ago
Behdad Esfahbod
b39b5f2f31
[name] Implement approximate language matching
...
Very rudimentary.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3354
3 years ago
Behdad Esfahbod
40d7d56e53
[subset-input] Minor move
3 years ago
Behdad Esfahbod
40193adbfc
[subset] Update default features list
3 years ago
Khaled Hosny
26d8066a41
[test/shape] Remove texts subdirectory
...
These texts were never hooked into the test suite, they however
represent a good collection of test texts, but one can always access
them from git history.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3123
3 years ago
Khaled Hosny
cd41557a96
[test/shape] Add PhagsPa tests
...
Adopted from texts/in-house/shaper-arabic/script-phags-pa/misc/misc.txt.
Using Noto Sans PhagsPa.
3 years ago
Khaled Hosny
1ab12e314a
[test/shape] Add Malayalam dot-reph tests
...
Adopted from texts/in-house/shaper-indic/script-malayalam/misc/dot-reph.txt.
Using Noto Sans Malayalam.
3 years ago
Khaled Hosny
6b2f3b5a99
[test/shape] Add Javanese tests
...
Adopted from texts/in-house/shaper-use/script-javanese/misc.txt.
I don’t know what font this was originally tested against, so I used
Noto Sans Javanese.
3 years ago
Khaled Hosny
c9c47dd8ad
[test/shape] Add Hebrew diacritics tests
...
Adopted from 406044986a
. Using
TaameyFrankCLM.ttf from the Mozilla issue.
3 years ago
Khaled Hosny
ef5d7febc8
[test/shape] Allow using hb-subset in record-test.sh
...
I think it is about time we use our own subsetter here. FontTools can
still be used.
3 years ago
Behdad Esfahbod
5bfb0b721c
Rename s/shape-complex/shaper/g
3 years ago
Behdad Esfahbod
44be1e5dfb
s/SHAPE_COMPLEX/SHAPER/g
3 years ago
Behdad Esfahbod
6fbb552156
s/FLAG_COMPLEX/FLAG_SHAPER/g
3 years ago
Behdad Esfahbod
6d9e94d2b8
s/hb_ot_shape_complex_categorize/hb_ot_shaper_categorize/g
3 years ago
Behdad Esfahbod
a560182cb3
s/complex_var/ot_shaper_var/g
3 years ago
Behdad Esfahbod
13fbed29e4
s/HB_OT_SHAPE_COMPLEX_MAX_COMBINING_MARKS/HB_OT_SHAPE_MAX_COMBINING_MARKS/g
3 years ago
Behdad Esfahbod
44a7b3b773
s/ot_complex_shaper/ot_shaper/g
3 years ago
Behdad Esfahbod
e5161977a4
s/COMPLEX_SHAPER/OT_SHAPER/g
3 years ago
Behdad Esfahbod
f3a8b7f36b
[algs] Test hb_hash()
3 years ago
Behdad Esfahbod
7aacdd05bd
[cplusplus] Test hashing shared_ptr / unique_ptr
3 years ago
Behdad Esfahbod
51ca1c9b59
Merge pull request #3626 from harfbuzz/fix-map
...
Fix map
3 years ago
Behdad Esfahbod
215a0afad1
[algs] Remove unused hb_coerce()
3 years ago
Behdad Esfahbod
5dc12d7d8d
[cmap] Rewrite set_for() slightly
3 years ago
Behdad Esfahbod
9552955e08
Add an unlikely
3 years ago