uint32_t hpl_cjk_abi_version(void)
int32_t hpl_cjk_decode_utf8(const uint8_t *src, uint32_t src_len, uint16_t *dst, uint32_t dst_cap, struct HplCjkDecodeResult *out)
Decodes UTF-8 into BMP-only UTF-16.
uint32_t hpl_cjk_is_cjk(uint32_t c)
1 if c counts as CJK for line breaking, else 0.
uint32_t hpl_cjk_break_allowed(uint32_t prev, uint32_t next)
1 if a line may break between UTF-16 code units prev and next, else 0.