| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2009 Red Hat, Inc. | 2 * Copyright © 2009 Red Hat, Inc. |
| 3 * Copyright © 2011 Codethink Limited | 3 * Copyright © 2011 Codethink Limited |
| 4 * Copyright © 2011,2012 Google, Inc. | 4 * Copyright © 2011,2012 Google, Inc. |
| 5 * | 5 * |
| 6 * This is part of HarfBuzz, a text shaping library. | 6 * This is part of HarfBuzz, a text shaping 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 /** | 277 /** |
| 278 * hb_unicode_funcs_set_combining_class_func: | 278 * hb_unicode_funcs_set_combining_class_func: |
| 279 * @ufuncs: a Unicode function structure | 279 * @ufuncs: a Unicode function structure |
| 280 * @func: (closure user_data) (destroy destroy) (scope notified): | 280 * @func: (closure user_data) (destroy destroy) (scope notified): |
| 281 * @user_data: | 281 * @user_data: |
| 282 * @destroy: | 282 * @destroy: |
| 283 * | 283 * |
| 284 * | 284 * |
| 285 * | 285 * |
| 286 * Since: 1.0 | 286 * Since: 0.9.2 |
| 287 **/ | 287 **/ |
| 288 void | 288 void |
| 289 hb_unicode_funcs_set_combining_class_func (hb_unicode_funcs_t *ufuncs, | 289 hb_unicode_funcs_set_combining_class_func (hb_unicode_funcs_t *ufuncs, |
| 290 hb_unicode_combining_class_func_t fun
c, | 290 hb_unicode_combining_class_func_t fun
c, |
| 291 void *user_data, hb_destroy_func_t de
stroy); | 291 void *user_data, hb_destroy_func_t de
stroy); |
| 292 | 292 |
| 293 /** | 293 /** |
| 294 * hb_unicode_funcs_set_eastasian_width_func: | 294 * hb_unicode_funcs_set_eastasian_width_func: |
| 295 * @ufuncs: a Unicode function structure | 295 * @ufuncs: a Unicode function structure |
| 296 * @func: (closure user_data) (destroy destroy) (scope notified): | 296 * @func: (closure user_data) (destroy destroy) (scope notified): |
| 297 * @user_data: | 297 * @user_data: |
| 298 * @destroy: | 298 * @destroy: |
| 299 * | 299 * |
| 300 * | 300 * |
| 301 * | 301 * |
| 302 * Since: 1.0 | 302 * Since: 0.9.2 |
| 303 **/ | 303 **/ |
| 304 void | 304 void |
| 305 hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs, | 305 hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs, |
| 306 hb_unicode_eastasian_width_func_t fun
c, | 306 hb_unicode_eastasian_width_func_t fun
c, |
| 307 void *user_data, hb_destroy_func_t de
stroy); | 307 void *user_data, hb_destroy_func_t de
stroy); |
| 308 | 308 |
| 309 /** | 309 /** |
| 310 * hb_unicode_funcs_set_general_category_func: | 310 * hb_unicode_funcs_set_general_category_func: |
| 311 * @ufuncs: a Unicode function structure | 311 * @ufuncs: a Unicode function structure |
| 312 * @func: (closure user_data) (destroy destroy) (scope notified): | 312 * @func: (closure user_data) (destroy destroy) (scope notified): |
| 313 * @user_data: | 313 * @user_data: |
| 314 * @destroy: | 314 * @destroy: |
| 315 * | 315 * |
| 316 * | 316 * |
| 317 * | 317 * |
| 318 * Since: 1.0 | 318 * Since: 0.9.2 |
| 319 **/ | 319 **/ |
| 320 void | 320 void |
| 321 hb_unicode_funcs_set_general_category_func (hb_unicode_funcs_t *ufuncs, | 321 hb_unicode_funcs_set_general_category_func (hb_unicode_funcs_t *ufuncs, |
| 322 hb_unicode_general_category_func_t f
unc, | 322 hb_unicode_general_category_func_t f
unc, |
| 323 void *user_data, hb_destroy_func_t d
estroy); | 323 void *user_data, hb_destroy_func_t d
estroy); |
| 324 | 324 |
| 325 /** | 325 /** |
| 326 * hb_unicode_funcs_set_mirroring_func: | 326 * hb_unicode_funcs_set_mirroring_func: |
| 327 * @ufuncs: a Unicode function structure | 327 * @ufuncs: a Unicode function structure |
| 328 * @func: (closure user_data) (destroy destroy) (scope notified): | 328 * @func: (closure user_data) (destroy destroy) (scope notified): |
| 329 * @user_data: | 329 * @user_data: |
| 330 * @destroy: | 330 * @destroy: |
| 331 * | 331 * |
| 332 * | 332 * |
| 333 * | 333 * |
| 334 * Since: 1.0 | 334 * Since: 0.9.2 |
| 335 **/ | 335 **/ |
| 336 void | 336 void |
| 337 hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs, | 337 hb_unicode_funcs_set_mirroring_func (hb_unicode_funcs_t *ufuncs, |
| 338 hb_unicode_mirroring_func_t func, | 338 hb_unicode_mirroring_func_t func, |
| 339 void *user_data, hb_destroy_func_t destroy)
; | 339 void *user_data, hb_destroy_func_t destroy)
; |
| 340 | 340 |
| 341 /** | 341 /** |
| 342 * hb_unicode_funcs_set_script_func: | 342 * hb_unicode_funcs_set_script_func: |
| 343 * @ufuncs: a Unicode function structure | 343 * @ufuncs: a Unicode function structure |
| 344 * @func: (closure user_data) (destroy destroy) (scope notified): | 344 * @func: (closure user_data) (destroy destroy) (scope notified): |
| 345 * @user_data: | 345 * @user_data: |
| 346 * @destroy: | 346 * @destroy: |
| 347 * | 347 * |
| 348 * | 348 * |
| 349 * | 349 * |
| 350 * Since: 1.0 | 350 * Since: 0.9.2 |
| 351 **/ | 351 **/ |
| 352 void | 352 void |
| 353 hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs, | 353 hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs, |
| 354 hb_unicode_script_func_t func, | 354 hb_unicode_script_func_t func, |
| 355 void *user_data, hb_destroy_func_t destroy); | 355 void *user_data, hb_destroy_func_t destroy); |
| 356 | 356 |
| 357 /** | 357 /** |
| 358 * hb_unicode_funcs_set_compose_func: | 358 * hb_unicode_funcs_set_compose_func: |
| 359 * @ufuncs: a Unicode function structure | 359 * @ufuncs: a Unicode function structure |
| 360 * @func: (closure user_data) (destroy destroy) (scope notified): | 360 * @func: (closure user_data) (destroy destroy) (scope notified): |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 * Since: 0.9.2 | 461 * Since: 0.9.2 |
| 462 **/ | 462 **/ |
| 463 unsigned int | 463 unsigned int |
| 464 hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs, | 464 hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs, |
| 465 hb_codepoint_t u, | 465 hb_codepoint_t u, |
| 466 hb_codepoint_t *decomposed); | 466 hb_codepoint_t *decomposed); |
| 467 | 467 |
| 468 HB_END_DECLS | 468 HB_END_DECLS |
| 469 | 469 |
| 470 #endif /* HB_UNICODE_H */ | 470 #endif /* HB_UNICODE_H */ |
| OLD | NEW |