[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
packed ragged-right
From: |
Han-Wen Nienhuys |
Subject: |
packed ragged-right |
Date: |
Wed, 30 Apr 2003 21:46:25 +0200 |
address@hidden writes:
> > #if 0
> > /*
> > This doesn't make sense. For ragged right we want to have the same
> > spacing. Otherwise the option should be called differently.
> >
> > ragged-righted-and-weird-spacing. Whatever.
> >
> > */
> > Real strength = (ragged) ? 1.0 : 1 / (max_note_space -
> > max_fixed_note_space);
> > Real distance = (ragged) ? max_fixed_note_space : max_note_space;
> > #else
> > ...
>
> Is it ok if I use a boolean property "packed" (instead of "raggedright")
> for these two lines? When in ragged-right mode, using this code will pack
yes, go ahead.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen