Behdad Esfahbod
451edbd4d0
Revert "Test new solution for HB_PARTIALIZE"
...
This reverts commit a0c4900799
.
2019-06-10 12:46:54 -07:00
Behdad Esfahbod
a0c4900799
Test new solution for HB_PARTIALIZE
...
Just testing bots. Will finish based on results.
2019-06-10 12:33:23 -07:00
Ebrahim Byagowi
4a2b58555f
[ci] Use HB_OPTIMIZE_SIZE instead of __OPTIMIZE_SIZE__
2019-06-10 08:16:51 -07:00
Ebrahim Byagowi
a228bb5f1d
[ci] Test -Os and optimize size in Alpine bot
...
__OPTIMIZE_SIZE__ should be defined whenever -Os but some Internet thread
indicate may not so lets do that ourselves as that is the main intention
2019-06-10 15:56:36 +04:30
Ebrahim Byagowi
9407ef8d4b
minor, add HB_USE_INTERNAL_QSORT
...
The only thing I need for a working wasm in a minimum libc,
otherwise I have to provide the very same qsort inside that libc
2019-06-10 15:17:43 +04:30
Ebrahim Byagowi
801d93fc58
[ci] remove wine from fedora bot
...
We are not testing Windows exes in fedora mingw bot, we don't have to as
probably won't go that smoothly and we have real Windows bots anyway
and as wine installation itself is time taking let's remove it
2019-06-10 14:53:14 +04:30
Ebrahim Byagowi
7dcfc5357d
[stat] minor format
2019-06-09 11:58:08 +04:30
Ebrahim Byagowi
2646c7149c
[stat] minor
2019-06-09 11:51:58 +04:30
Ebrahim Byagowi
c4669fda78
[algs] minor
2019-06-09 11:50:36 +04:30
Ebrahim Byagowi
9b853f755d
[cff] Use switch on multi-format structs ( #1762 )
2019-06-09 11:49:25 +04:30
Ebrahim Byagowi
eff579f743
Update and use internal qsort everywhere
2019-06-08 12:53:27 -07:00
Behdad Esfahbod
5074d665a8
[ucd] Save another 1.5kb
...
https://github.com/harfbuzz/harfbuzz/issues/1652
2019-06-07 14:21:40 -07:00
Ebrahim Byagowi
6d58b45782
[ci] use trusty for its gcc 4.8 again
2019-06-08 00:40:18 +04:30
Behdad Esfahbod
973699c49b
Disable clang gcc impersonator
2019-06-07 12:49:06 -07:00
Behdad Esfahbod
e4e518f33d
Fix build on gcc 4.8
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1724
2019-06-07 12:41:09 -07:00
Behdad Esfahbod
3c240bd3dc
Downgrade double-promotion from error to warning
...
https://github.com/harfbuzz/harfbuzz/issues/1740
2019-06-07 10:56:24 -07:00
Ebrahim Byagowi
385e436692
Minor, fix gcc maybe-uninitialized complain
...
I guess all of its field will be initialized anyway here but lets make it more defensive
2019-06-07 10:49:57 -07:00
Ebrahim Byagowi
1bada656a8
Minor, remove unnecessary semicolon
...
Causing -Wextra-semi-stmt build error when no primitive has chosen
Interesting that nobody has noticed it yet.
2019-06-07 02:01:27 +04:30
Garret Rieger
f9b1ae7336
[subset] Move OS/2 to subset2.
2019-06-06 12:33:42 -07:00
Qunxin Liu
93d592e0e1
[subset] post table to use _subset2
2019-06-06 10:55:25 -07:00
Qunxin Liu
db938479d7
[subset] maxp table to use _subset2
2019-06-05 14:56:21 -07:00
Eli Zaretskii
d5e5f37832
This makes minor changes to allow building HarfBuzz with
...
mingw.org's MinGW.
src/hb-algs.hh: Don't compile _BitScanForward and _BitScanReverse
for GCC >= 4. mingw.org's MinGW doesn't have these functions.
src/hb-atomic.hh: MemoryBarrier does exist in mingw.org's MinGW,
but it is not a macro, it is an inline function. __MINGW32_VERSION
is a macro that exists only in mingw.org's MinGW, so conditioning
on it should not affect MinGW64, where MemoryBarrier is a macro.
src/hb-uniscribe.cc: Define E_NOT_SUFFICIENT_BUFFER if it is not
defined (mingw.org's MinGW doesn't).
src/hb.hh: Don't include intrin.h for mingw.org's MinGW, since that
header is not available; instead, include windows.h. Conditioned
on __MINGW32_VERSION to avoid affecting MinGW64.
2019-06-05 14:37:51 -07:00
Behdad Esfahbod
c7439d4e3a
Slightly massage buffer-messaging commit
...
Saves a few bytes.
2019-06-05 12:15:09 -07:00
Ebrahim Byagowi
4b1b0bf2f5
Merge pull request #1755 from ebraminio/slim
...
Don't use vsnprintf when HB_NO_BUFFER_MESSAGE is defined
2019-06-05 12:57:28 +04:30
Ebrahim Byagowi
815f002bb9
Don't use vsnprintf when HB_NO_BUFFER_MESSAGE is defined
2019-06-05 10:38:06 +04:30
Bruce Mitchener
659eeddb2d
Use C++11 override keyword.
2019-06-04 20:31:32 -07:00
David Corbett
2e16593b70
[myanmar] Make medial_group match the OT spec
...
Sometime between [July 2018] and [January 2019], the OpenType Myanmar
grammar changed: one asat is now allowed after a medial ya, before any
other medial consonant.
[July 2018]: http://web.archive.org/web/20180711011550/https://docs.microsoft.com/en-us/typography/script-development/myanmar
[January 2019]: http://web.archive.org/web/20190115044451/https://docs.microsoft.com/en-us/typography/script-development/myanmar
This also reverts commit 439b05867c
, which
allowed an asat immediately after a medial ra.
2019-06-04 13:02:04 -07:00
Qunxin Liu
209491fc37
[subset] Hmtx/vmtx tables to use subset2 and new iterator frameworks
2019-06-04 12:08:05 -07:00
Ebrahim Byagowi
89a7a880a1
Merge pull request #1747 from harfbuzz/cff2-fdselect-fix
...
fixed faulty FDSelect::sanitize
2019-06-04 10:52:16 +04:30
Michiharu Ariza
12febd68d6
added parentheses to FDSelect::sanitize as well
2019-06-03 16:40:03 -07:00
Michiharu Ariza
65e66a2d37
added test data
2019-06-03 16:31:41 -07:00
Michiharu Ariza
be82a2fc0c
parenthesized cond-exp in CFF2FDSelect::sanitize
2019-06-03 15:52:23 -07:00
Ebrahim Byagowi
760eb1bf93
Reapply possible bsearch overflow fix
...
Originally introduced in 21ede86
(#1314 ) but as it wasn't applied to hb_bsearch
accidentally removed while merging hb_bsearch_r to it.
2019-06-03 05:48:04 -07:00
Bruce Mitchener
5846884f86
test: Use nullptr in C++ code. ( #1744 )
2019-06-03 12:30:25 +04:30
Ebrahim Byagowi
7c14b90145
[ci] revert to xenial
...
It should've done in a branch
2019-06-02 13:51:26 +04:30
Ebrahim Byagowi
8278ff7dce
minor
2019-06-02 00:36:30 +04:30
Ebrahim Byagowi
33d38e793e
Use a unified bsearch ( #1741 )
...
A part of #593
2019-06-02 00:19:57 +04:30
Ebrahim Byagowi
97b9268577
[ci] Downgrade Travis distribution upon Behdad request
2019-06-01 21:25:09 +04:30
Ebrahim Byagowi
faf69e03f5
[ci] Install ragel on appveyor mingw bots
...
Hopefully autotools timestamps issues will go
2019-06-01 11:02:25 +04:30
Ebrahim Byagowi
c91f3fa3ea
[dwrite] Replace REPLACEME with release version the symbol had
2019-06-01 10:55:37 +04:30
Behdad Esfahbod
93c455567f
2.5.1
2019-05-31 22:56:56 -07:00
Behdad Esfahbod
10e3cb9246
[docs] Fix dist
2019-05-31 22:56:56 -07:00
Behdad Esfahbod
619f5f1eb9
Fourth try at building VS bots
...
Based on https://github.com/harfbuzz/harfbuzz/issues/1730#issuecomment-497151210
2019-05-31 22:49:34 -07:00
Behdad Esfahbod
f387a09742
[ci] Disable VS 2013
...
That one doesn't even understand constexpr.
2019-05-31 22:49:34 -07:00
Behdad Esfahbod
aba3888d93
Third try at fixing VS build
...
https://github.com/harfbuzz/harfbuzz/issues/1730
2019-05-31 22:49:34 -07:00
Behdad Esfahbod
8aaecbb583
Second VS fix try
...
https://github.com/harfbuzz/harfbuzz/issues/1730
2019-05-31 22:49:34 -07:00
Behdad Esfahbod
5a1b5c0a8b
Try fixing VS builds
...
Hopefully fixes https://github.com/harfbuzz/harfbuzz/issues/1730
2019-05-31 22:49:34 -07:00
Behdad Esfahbod
66381fb73f
[ci] Enable other versions of Visual Studio
...
https://github.com/harfbuzz/harfbuzz/issues/1730
2019-05-31 22:49:34 -07:00
Behdad Esfahbod
92fde3dea2
Whitespace
2019-05-31 22:49:34 -07:00
rsheeter
49879adbfc
[subset] Correct calculation of max offset; fixes bug where loca would erroneously be short
2019-05-31 19:43:30 -07:00