359 buffer->swap_buffers ();
360
361 /* If font has Thai GSUB, we are done. */
362 if (plan->props.script == HB_SCRIPT_THAI && !plan->map.found_script[0])
363 do_thai_pua_shaping (plan, buffer, font);
364 }
365
366 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_thai =
367 {
368 "thai",
369 NULL, /* collect_features */
370 NULL, /* override_features */
371 NULL, /* data_create */
372 NULL, /* data_destroy */
373 preprocess_text_thai,
374 NULL, /* postprocess_glyphs */
375 HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT,
376 NULL, /* decompose */
377 NULL, /* compose */
378 NULL, /* setup_masks */
379 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE,
380 false,/* fallback_position */
381 };
|
359 buffer->swap_buffers ();
360
361 /* If font has Thai GSUB, we are done. */
362 if (plan->props.script == HB_SCRIPT_THAI && !plan->map.found_script[0])
363 do_thai_pua_shaping (plan, buffer, font);
364 }
365
366 const hb_ot_complex_shaper_t _hb_ot_complex_shaper_thai =
367 {
368 "thai",
369 NULL, /* collect_features */
370 NULL, /* override_features */
371 NULL, /* data_create */
372 NULL, /* data_destroy */
373 preprocess_text_thai,
374 NULL, /* postprocess_glyphs */
375 HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT,
376 NULL, /* decompose */
377 NULL, /* compose */
378 NULL, /* setup_masks */
379 NULL, /* disable_otl */
380 HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE,
381 false,/* fallback_position */
382 };
|