Re: Question about gtk_label_set_justify()
- From: "Richard Boaz" <riboaz xs4all nl>
- To: "chao yeaj" <yeajchao gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Question about gtk_label_set_justify()
- Date: Wed, 26 Jul 2006 07:09:40 +0200 (CEST)
hi,
so far, all discussion of this problem has related to whether or not a
solution resides wholly withing gtk/pango/cairo/whatever.
it would seem to me that the fact that gtk/pango/cairo/whatever does not
provide a built-in solution for chinese style justification only means
that the solution must be found elsewhere.
namely, before rendering the label string, provide your own function that
creates the string exactly as you would want it to be displayed, simply
using spaces to fill out the string accordingly, and then provide this new
string to render the label.
whynot?
richard
> Yes ,I am chinese
>
> First ,I am apologize for my terribly English
> I am a junior student of a college
>
> Actually,in my application,I use chinese characters,
> The user of my application need the texts fully justified
>
> In china,pepole like the characters in alignment
> both horizontal and vertical
>
> In fact, many word prossesor provide full justification,
> such as Microsoft word and Kingsoft WPS
>
> One chinese character like a squale,
> So we certainly want a line of chinese characters like a rectangle
>
> I am newbie of gtk+
> So I may not make my text fully justified,since gtk+ not provide
> this justification for now
>
> Thank you very much !
> With best wishes
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]