mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1215428 - Update harfbuzz to release 1.0.6. r=jdaggett
This commit is contained in:
parent
a6ebe09f72
commit
d4e4f3b6aa
@ -84,7 +84,7 @@ _hb_ft_font_create (FT_Face ft_face, bool unref)
|
||||
ft_font->ft_face = ft_face;
|
||||
ft_font->unref = unref;
|
||||
|
||||
ft_font->load_flags = FT_LOAD_DEFAULT;
|
||||
ft_font->load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING;
|
||||
|
||||
return ft_font;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ struct hb_ot_face_metrics_accelerator_t
|
||||
|
||||
this->blob = OT::Sanitizer<OT::_mtx>::sanitize (face->reference_table (_mtx_tag));
|
||||
if (unlikely (!this->num_advances ||
|
||||
2 * (this->num_advances + this->num_metrics) < hb_blob_get_length (this->blob)))
|
||||
2 * (this->num_advances + this->num_metrics) > hb_blob_get_length (this->blob)))
|
||||
{
|
||||
this->num_metrics = this->num_advances = 0;
|
||||
hb_blob_destroy (this->blob);
|
||||
|
@ -38,9 +38,9 @@ HB_BEGIN_DECLS
|
||||
|
||||
#define HB_VERSION_MAJOR 1
|
||||
#define HB_VERSION_MINOR 0
|
||||
#define HB_VERSION_MICRO 5
|
||||
#define HB_VERSION_MICRO 6
|
||||
|
||||
#define HB_VERSION_STRING "1.0.5"
|
||||
#define HB_VERSION_STRING "1.0.6"
|
||||
|
||||
#define HB_VERSION_ATLEAST(major,minor,micro) \
|
||||
((major)*10000+(minor)*100+(micro) <= \
|
||||
|
Loading…
Reference in New Issue
Block a user