Ooops, I need stronger specs, you wanted to get the size of four
spaces. I'd try this (untested) after setting the mono font.
PangoLayout *layout;
int width, height;
layout = gtk_widget_create_pango_layout( program->text, "" );
pango_layout_get_pixel_size( layo
Hi Michael,
On 10/21/05, Michael Matthews <[EMAIL PROTECTED]> wrote:
> How do I change the default tabs from 8-space to 4-space?
I use the following:
static PangoTabArray *
program_tabs_new( void )
{
const int ntabs = 20;
const int tab_width = 15; /* in pixels */
P