Behdad Esfahbod 8d05bf7dc0 Fix cast-align error
If compiler doesn't inline StructAtOffset, this was an error since we
only disable cast-align at call-site.  So, move the cast out.

../src/hb-machinery.hh: In instantiation of 'const Type& StructAtOffset(const void*, unsigned int) [with Type = unsigned int]':
../src/hb-font.cc:146:85:   required from here
../src/hb-machinery.hh:63:12: error: cast from 'const char*' to 'const unsigned int*' increases required alignment of target type [-Werror=cast-align]
 { return * reinterpret_cast<const Type*> ((const char *) P + offset); }
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = unsigned int]':
../src/hb-font.cc:147:79:   required from here
../src/hb-machinery.hh:66:12: error: cast from 'char*' to 'unsigned int*' increases required alignment of target type [-Werror=cast-align]
 { return * reinterpret_cast<Type*> ((char *) P + offset); }
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-01-22 12:34:05 +01:00
2019-01-22 12:29:05 +01:00
2019-01-22 12:00:12 +02:00
2019-01-22 12:34:05 +01:00
2019-01-22 10:51:21 +01:00
2018-11-26 18:58:39 +03:30
2019-01-17 16:08:30 -05:00
2018-10-18 00:35:01 -07:00
2018-02-20 14:36:14 -08:00
2018-10-19 19:24:05 +03:30
2019-01-17 15:18:18 -05:00
2012-10-28 21:26:19 -07:00
2017-10-27 10:23:01 -06:00
2018-02-16 14:16:28 -08:00
2018-02-16 14:16:28 -08:00
2018-12-20 21:48:57 -05:00
2018-11-20 01:21:36 -05:00
2018-10-19 19:24:05 +03:30
2018-10-19 19:24:05 +03:30
2018-10-30 15:52:26 -07:00
2012-08-10 14:50:05 -04:00

Travis Build Status AppVeyor Build Status CircleCI Build Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage ABI Tracker

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

http://harfbuzz.org/

For license information, see the file COPYING.

Documentation: https://harfbuzz.github.io

Languages
C++ 77.7%
C 14.1%
Python 2.8%
M4 1.2%
Meson 1.1%
Other 3%