| OLD | NEW |
| 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 Loading... |
| 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 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1230 * Since: 1.0 | 1229 * Since: 1.0 |
| 1231 **/ | 1230 **/ |
| 1232 void | 1231 void |
| 1233 hb_font_get_ppem (hb_font_t *font, | 1232 hb_font_get_ppem (hb_font_t *font, |
| 1234 unsigned int *x_ppem, | 1233 unsigned int *x_ppem, |
| 1235 unsigned int *y_ppem) | 1234 unsigned int *y_ppem) |
| 1236 { | 1235 { |
| 1237 if (x_ppem) *x_ppem = font->x_ppem; | 1236 if (x_ppem) *x_ppem = font->x_ppem; |
| 1238 if (y_ppem) *y_ppem = font->y_ppem; | 1237 if (y_ppem) *y_ppem = font->y_ppem; |
| 1239 } | 1238 } |
| OLD | NEW |