Include mtext.h.
authorhanda <handa>
Fri, 15 Apr 2005 08:13:48 +0000 (08:13 +0000)
committerhanda <handa>
Fri, 15 Apr 2005 08:13:48 +0000 (08:13 +0000)
commitd152158a4a5259d8ea481aea510e887f86424f81
tree61c45b74d11982f1bef436cc6602d11cf181a1cd
parent05988d4cbf1685e867741260b0b599bdcabb14b4
Include mtext.h.
(linebreak_table, M_break_at_space, M_break_at_word)
(M_break_at_any, M_kinsoku_bol, M_kinsoku_eol): New variables.
(compose_glyph_string): Check POS before getting Mface text
property.
(truncate_gstring): Give correct TO arg to line_break function.
(GET_LB_TYPE): New macro.
(find_break_backward, find_break_forward): New functions.
(mdraw__init): Initialize the above new variables.
(mdraw__fini): Free linebreak_table.
(mdraw_default_line_break): Use find_break_backward and
find_break_forward.
src/draw.c