[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [g-i] Arabic / Persian fonts



On Wed, Feb 08, 2006 at 04:39:41PM +0100, Mohammed Adnène Trojette wrote:
> Is there a way to disable italic in Arabic?

Of course it would be possible, but I'd rater fix the problem: it's
been decided to use bold/italic to emphasize text and IMO would be
nice to leave it.

Attilio just sent me the following patch for cdebconf wich adds a
border to the widget displaying the italic text:

===================================================================
--- src/modules/frontend/gtk/gtk.c      (revisione 34809)
+++ src/modules/frontend/gtk/gtk.c      (copia locale)
@@ -603,6 +603,8 @@
     gtk_text_view_set_editable (GTK_TEXT_VIEW(description_view), FALSE);
     gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW(description_view), FALSE);
     gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW(description_view), GTK_WRAP_WORD);
+    gtk_text_view_set_left_margin (GTK_TEXT_VIEW(description_view), 4);
+    gtk_text_view_set_right_margin (GTK_TEXT_VIEW(description_view), 4);
     gtk_text_buffer_create_tag (description_buffer, "italic", "style", PANGO_STYLE_ITALIC, NULL);
     g_object_set_data (G_OBJECT (description_view), "tag", "italic");
     gtk_text_buffer_get_start_iter  (description_buffer, &start);

I just built [1] which, apart from the patched cdebconf, is the same
image as the one uploaded a couple of days ago [2]: please (adn) let us know if this
fixes the problem!

Ciao
Davide

PS: big up Attilio!

[1] http://www.webalice.it/zinosat/g-i/mini_only_nazli_border.iso
[2] http://www.webalice.it/zinosat/g-i/mini_only_nazli.iso

Attachment: signature.asc
Description: Digital signature


Reply to: