diff options
author | Chyla Zbigniew <chyla@src.gnome.org> | 2001-11-17 16:56:06 +0800 |
---|---|---|
committer | Chyla Zbigniew <chyla@src.gnome.org> | 2001-11-17 16:56:06 +0800 |
commit | cbcfb37538676273ba5ec468bf9903c1203ed4b9 (patch) | |
tree | 51e5a1ca5e0c2f2a78fc98121671ce4563c7abd9 /addressbook/printing/e-contact-print-envelope.c | |
parent | 48820eabf414852ad255234d955ea011d6f71ae4 (diff) | |
download | gsoc2013-evolution-cbcfb37538676273ba5ec468bf9903c1203ed4b9.tar.gz gsoc2013-evolution-cbcfb37538676273ba5ec468bf9903c1203ed4b9.tar.zst gsoc2013-evolution-cbcfb37538676273ba5ec468bf9903c1203ed4b9.zip |
s/gnome_font_get_width_string/gnome_font_get_width_utf8/
* printing/e-contact-print-envelope.c (ecpe_linelist_dimensions),
printing/e-contact-print.c (e_contact_divide_text, e_contact_output,
e_contact_rectangle, e_contact_print_letter_tab,
e_contact_print_letter_heading, e_contact_get_card_size,
e_contact_print_card, e_contact_print_phone_list):
s/gnome_font_get_width_string/gnome_font_get_width_utf8/
s/gnome_font_get_width_string_n/gnome_font_get_width_utf8_sized/
svn path=/trunk/; revision=14739
Diffstat (limited to 'addressbook/printing/e-contact-print-envelope.c')
-rw-r--r-- | addressbook/printing/e-contact-print-envelope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/printing/e-contact-print-envelope.c b/addressbook/printing/e-contact-print-envelope.c index 9b53676123..2f65afa81b 100644 --- a/addressbook/printing/e-contact-print-envelope.c +++ b/addressbook/printing/e-contact-print-envelope.c @@ -101,7 +101,7 @@ ecpe_linelist_dimensions(GnomeFont *font, char *address, EcpeLine *linelist, dou int i; if (widthp) { for (i = 0; linelist[i].length != -1; i++) { - width = MAX(width, gnome_font_get_width_string_n (font, address + linelist[i].start, linelist[i].length)); + width = MAX(width, gnome_font_get_width_utf8_sized (font, address + linelist[i].start, linelist[i].length)); } *widthp = width; } else { |