| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998-2004 David Turner and Werner Lemberg | 2 * Copyright (C) 1998-2004 David Turner and Werner Lemberg |
| 3 * Copyright (C) 2006 Behdad Esfahbod | 3 * Copyright (C) 2006 Behdad Esfahbod |
| 4 * Copyright (C) 2007 Red Hat, Inc. | 4 * Copyright (C) 2007 Red Hat, Inc. |
| 5 * | 5 * |
| 6 * This is part of HarfBuzz, an OpenType Layout engine library. | 6 * This is part of HarfBuzz, an OpenType Layout engine library. |
| 7 * | 7 * |
| 8 * Permission is hereby granted, without written agreement and without | 8 * Permission is hereby granted, without written agreement and without |
| 9 * license or royalty fees, to use, copy, modify, and distribute this | 9 * license or royalty fees, to use, copy, modify, and distribute this |
| 10 * software and its documentation for any purpose, provided that the | 10 * software and its documentation for any purpose, provided that the |
| (...skipping 2705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2716 /* LookupType 6 */ | 2716 /* LookupType 6 */ |
| 2717 | 2717 |
| 2718 /* Mark2Array */ | 2718 /* Mark2Array */ |
| 2719 | 2719 |
| 2720 static HB_Error Load_Mark2Array( HB_Mark2Array* m2a, | 2720 static HB_Error Load_Mark2Array( HB_Mark2Array* m2a, |
| 2721 HB_UShort num_classes, | 2721 HB_UShort num_classes, |
| 2722 HB_Stream stream ) | 2722 HB_Stream stream ) |
| 2723 { | 2723 { |
| 2724 HB_Error error; | 2724 HB_Error error; |
| 2725 | 2725 |
| 2726 HB_UShort k, m, n, count; | 2726 HB_UShort m, n, count; |
| 2727 HB_UInt cur_offset, new_offset, base_offset; | 2727 HB_UInt cur_offset, new_offset, base_offset; |
| 2728 | 2728 |
| 2729 HB_Mark2Record *m2r; | 2729 HB_Mark2Record *m2r; |
| 2730 HB_Anchor *m2an, *m2ans; | 2730 HB_Anchor *m2an, *m2ans; |
| 2731 | 2731 |
| 2732 | 2732 |
| 2733 base_offset = FILE_Pos(); | 2733 base_offset = FILE_Pos(); |
| 2734 | 2734 |
| 2735 if ( ACCESS_Frame( 2L ) ) | 2735 if ( ACCESS_Frame( 2L ) ) |
| 2736 return error; | 2736 return error; |
| (...skipping 3307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6044 { | 6044 { |
| 6045 error = Position_CursiveChain ( buffer ); | 6045 error = Position_CursiveChain ( buffer ); |
| 6046 if ( error ) | 6046 if ( error ) |
| 6047 return error; | 6047 return error; |
| 6048 } | 6048 } |
| 6049 | 6049 |
| 6050 return retError; | 6050 return retError; |
| 6051 } | 6051 } |
| 6052 | 6052 |
| 6053 /* END */ | 6053 /* END */ |
| OLD | NEW |