Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-face.cc

Issue 205003003: Update harfbuzz-ng to 0.9.27 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: w/missing files Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright © 2009 Red Hat, Inc. 2 * Copyright © 2009 Red Hat, Inc.
3 * Copyright © 2012 Google, Inc. 3 * Copyright © 2012 Google, Inc.
4 * 4 *
5 * This is part of HarfBuzz, a text shaping library. 5 * This is part of HarfBuzz, a text shaping library.
6 * 6 *
7 * Permission is hereby granted, without written agreement and without 7 * Permission is hereby granted, without written agreement and without
8 * license or royalty fees, to use, copy, modify, and distribute this 8 * license or royalty fees, to use, copy, modify, and distribute this
9 * software and its documentation for any purpose, provided that the 9 * software and its documentation for any purpose, provided that the
10 * above copyright notice and the following two paragraphs appear in 10 * above copyright notice and the following two paragraphs appear in
(...skipping 13 matching lines...) Expand all
24 * 24 *
25 * Red Hat Author(s): Behdad Esfahbod 25 * Red Hat Author(s): Behdad Esfahbod
26 * Google Author(s): Behdad Esfahbod 26 * Google Author(s): Behdad Esfahbod
27 */ 27 */
28 28
29 #include "hb-private.hh" 29 #include "hb-private.hh"
30 30
31 #include "hb-ot-layout-private.hh" 31 #include "hb-ot-layout-private.hh"
32 32
33 #include "hb-font-private.hh" 33 #include "hb-font-private.hh"
34 #include "hb-blob.h"
35 #include "hb-open-file-private.hh" 34 #include "hb-open-file-private.hh"
36 #include "hb-ot-head-table.hh" 35 #include "hb-ot-head-table.hh"
37 #include "hb-ot-maxp-table.hh" 36 #include "hb-ot-maxp-table.hh"
38 37
39 #include "hb-cache-private.hh" 38 #include "hb-cache-private.hh"
40 39
41 #include <string.h> 40 #include <string.h>
42 41
43 42
44 /* 43 /*
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 void 472 void
474 hb_face_t::load_num_glyphs (void) const 473 hb_face_t::load_num_glyphs (void) const
475 { 474 {
476 hb_blob_t *maxp_blob = OT::Sanitizer<OT::maxp>::sanitize (reference_table (HB_ OT_TAG_maxp)); 475 hb_blob_t *maxp_blob = OT::Sanitizer<OT::maxp>::sanitize (reference_table (HB_ OT_TAG_maxp));
477 const OT::maxp *maxp_table = OT::Sanitizer<OT::maxp>::lock_instance (maxp_blob ); 476 const OT::maxp *maxp_table = OT::Sanitizer<OT::maxp>::lock_instance (maxp_blob );
478 num_glyphs = maxp_table->get_num_glyphs (); 477 num_glyphs = maxp_table->get_num_glyphs ();
479 hb_blob_destroy (maxp_blob); 478 hb_blob_destroy (maxp_blob);
480 } 479 }
481 480
482 481
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-coretext.cc ('k') | third_party/harfbuzz-ng/src/hb-face-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698