| OLD | NEW |
| 1 /* | 1 /* |
| 2 * | 2 * |
| 3 * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved | 3 * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved |
| 4 * | 4 * |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include "LETypes.h" | 7 #ifndef USING_ICULEHB /* C API not available under HB */ |
| 8 |
| 9 #include "layout/LETypes.h" |
| 8 #include "loengine.h" | 10 #include "loengine.h" |
| 9 #include "PortableFontInstance.h" | 11 #include "PortableFontInstance.h" |
| 10 #include "SimpleFontInstance.h" | 12 #include "SimpleFontInstance.h" |
| 11 | 13 |
| 12 U_CDECL_BEGIN | 14 U_CDECL_BEGIN |
| 13 | 15 |
| 14 le_font *le_portableFontOpen(const char *fileName, | 16 le_font *le_portableFontOpen(const char *fileName, |
| 15 float pointSize, | 17 float pointSize, |
| 16 LEErrorCode *status) | 18 LEErrorCode *status) |
| 17 { | 19 { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } | 62 } |
| 61 | 63 |
| 62 le_uint32 le_getFontChecksum(le_font *font) | 64 le_uint32 le_getFontChecksum(le_font *font) |
| 63 { | 65 { |
| 64 PortableFontInstance *pfi = (PortableFontInstance *) font; | 66 PortableFontInstance *pfi = (PortableFontInstance *) font; |
| 65 | 67 |
| 66 return pfi->getFontChecksum(); | 68 return pfi->getFontChecksum(); |
| 67 } | 69 } |
| 68 | 70 |
| 69 U_CDECL_END | 71 U_CDECL_END |
| 72 #endif |
| OLD | NEW |