Ebrahim Byagowi
0c1b287b72
Add a new API, hb_ot_layout_get_feature_name_ids ( #976 )
...
This new API returns cvXX and ssXX related NameId, things like
featUiLabelNameId, featUiTooltipTextNameId, sampleTextNameId, ... of cvXX
and UINameId of ssXX, in a unified way.
However HarfBuzz currently doesn't expose an API for retrieving the actual
information associated with NameId from the `name` table and that should be
done separately.
6 years ago
Ebrahim Byagowi
93b65d9fe3
Remove dump-fon ( #1100 )
...
It had interesting stuffs like EXE parsing and
big-endian parsers but added in an attempt to find
a solution for #681 which later found not related.
6 years ago
Ebrahim Byagowi
d5cd47a69c
Remove AAT's gcid/fmtx ( #1099 )
...
We are not going to use them, at least in the foreseeable future
6 years ago
Behdad Esfahbod
1e9e344b2b
Fix hb_face_count() sanitize referencing
6 years ago
Behdad Esfahbod
a8cc0b5907
Remove TODO that is not gonna be done
...
Previously the idea was to cache sanitize results externally (think,
in Fontconfig) and avoid resanitizing every time. That's, not a good
idea.
6 years ago
Behdad Esfahbod
be70738400
Move sanitizer code around a bit
6 years ago
Behdad Esfahbod
db5d430eff
[aat] Update for blob changes
...
Also, uncomment code again, just "if (0)" it out, so it doesn't get stale again.
6 years ago
Behdad Esfahbod
68310a65cb
1.8.4
6 years ago
Behdad Esfahbod
04b7b81bcb
Reland "Implement C++11-style GCC builtin atomic ops"
...
Fixed the crasher in it.
6 years ago
Behdad Esfahbod
019d18e9ae
Minor
6 years ago
Behdad Esfahbod
3edef5a19b
Revert "Implement C++11-style GCC builtin atomic ops"
...
This reverts commit 21fa170f0b
.
Is crashing. Oops.
6 years ago
Behdad Esfahbod
21fa170f0b
Implement C++11-style GCC builtin atomic ops
...
Hopefully fixes bots.
6 years ago
Behdad Esfahbod
804b59cf49
Relax C++11 atomic ops memory order to acquire-release
6 years ago
Behdad Esfahbod
bda242409f
Implement C++11 <atomic> operations
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/345
6 years ago
Cosimo Lupo
5244112240
Merge pull request #1094 from anthrotype/fix-appveyor-msys2
...
appveyor.yml: try updating msys2 to fix failing mingw-w64-x86_64 build
6 years ago
Cosimo Lupo
269eb45650
appveyor.yml: try only updating msys2 core, not the rest of the packages
...
maybe it'll get a bit faster
6 years ago
Cosimo Lupo
3ab52c6cb5
appveyor.yml: pass --needed option to pacman
...
so it won't attempt reinstalling packages which are already installed
6 years ago
Cosimo Lupo
5631d70d36
appveyor.yml: try updating msys2 to fix failing mingw-w64-x86_64 build
...
https://github.com/harfbuzz/harfbuzz/pull/1093#issuecomment-405201903
https://ci.appveyor.com/project/harfbuzz/harfbuzz/build/job/ky7lao1ii1bi7ew4#L71
6 years ago
Behdad Esfahbod
2aae617a84
Move _hb_alignof later again
...
It uses constexpr...
6 years ago
Behdad Esfahbod
f3a74c16ec
Make hb_vector_t 8 bytes smaller
6 years ago
Behdad Esfahbod
44999f8b75
Align NullPool and CrapPool to HB_VECTOR_SIZE
6 years ago
Behdad Esfahbod
20a318d06a
Fix return type of alignof() fallback
6 years ago
Behdad Esfahbod
58cb4d9f73
Minor
6 years ago
Behdad Esfahbod
7796857c93
Minor
6 years ago
Behdad Esfahbod
2b76767bf5
1.8.3
6 years ago
Behdad Esfahbod
718dfd4189
Fix shift
6 years ago
Behdad Esfahbod
25aa411ac5
Put back include dependencies
6 years ago
Behdad Esfahbod
491d93bf74
Move more stuff from hb-private.hh to hb-dsalgs.hh
6 years ago
Behdad Esfahbod
f477765661
Move more stuff to hb-dsalgs.hh
6 years ago
Behdad Esfahbod
be7f664f72
Move hb_bytes_t to hb-dsalgs.hh
6 years ago
Behdad Esfahbod
7a00f7eb2e
Remove hb_auto_array_t
6 years ago
Behdad Esfahbod
be458eb059
Include more basic internal headers from hb-private.hh
6 years ago
Behdad Esfahbod
bddeb2b10c
Minor renamings of internal inline functions
6 years ago
Behdad Esfahbod
d652ef299d
Move hb_vector_t and hb_lockable_set_t to hb-dsalgs.hh
6 years ago
Behdad Esfahbod
9e53b08329
Move hb_stable_sort to hb-dsalgs.hh
...
Also, include hb-dsalgs.hh from end of hb-pricate.hh
6 years ago
Behdad Esfahbod
39f11d8e72
Minor
6 years ago
Behdad Esfahbod
763f878cc0
Fix syntax
...
Oops.
6 years ago
Behdad Esfahbod
83ea277178
Add posix_memalign() fallback
6 years ago
Behdad Esfahbod
292c100d61
Always compile (but not use) alignof() and round() fallback codes
...
Catches compile-errors in them better.
6 years ago
Behdad Esfahbod
27c5317d91
Fix alignof impl
6 years ago
Behdad Esfahbod
bca83618cd
Add fallback implementation for constexpr and alignof
6 years ago
Behdad Esfahbod
7cb47d0f3f
Minor
6 years ago
Cosimo Lupo
bf9e9676dd
Merge pull request #1091 from anthrotype/fix-gen-def-py
...
gen-def.py: pass headers as arguments so that msys2 can convert posix paths
6 years ago
Cosimo Lupo
53f73409a9
CMakeLists.txt: don't pass header args as single space-separated string
...
let python's parse command-line args as usual
6 years ago
Cosimo Lupo
83d2233a5c
CMakeLists.txt: pass headers as arguments to gen-def.py; call using PYTHON_EXECUTABLE
6 years ago
Cosimo Lupo
ccdd156554
src/Makefile.am: pass headers to gen-def.py as arguments, not env vars
6 years ago
Cosimo Lupo
e3a931ef0b
gen-def.py: pass headers as arguments so that msys2 can convert posix paths
...
When one is not using the msys2 python, the header files that are passed in as environment
variable cannot be found.
https://ci.appveyor.com/project/fonttools/ttfautohint-py/build/1.0.65/job/rkremny4jjid9nl2#L803
This is because msys2 shell and make use POSIX paths (e.g. /c/Users/clupo/...)
whereas non-msys2 python.exe uses native Windows paths (e.g. C:\Users\clupo\...).
Msys2 will automatically convert command line arguments (but not environment variables) from
POSIX to Windows paths when calling a native win32 executable, so we pass the header paths
as arguments instead of environment variables.
This way the gen-def.py script can support both mingw python running in an MSYS2 shell, and
native win32 python.
6 years ago
David Corbett
46d8f0d552
Do not enforce a native direction of LTR for Runic
...
Fixes #481
6 years ago
David Corbett
936dadc661
Regenerate the USE table for Grantha and Bhaiksuki ( #1090 )
...
Completes #1037 and fixes #1035 .
6 years ago
Behdad Esfahbod
1ebaa090d8
Disable vectorization
...
Disable vectorization for now. To correctly use them, we should
use posix_memalign() to allocate them. Otherwise, can cause
misaligned access.
https://bugs.chromium.org/p/chromium/issues/detail?id=860184
6 years ago