Re: [css-text] useful 'hanging-punctuation: last' characters

> On Mar 28, 2015, at 2:45 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
>> On 03/28/2015 09:50 AM, Brad Kemper wrote:
>> 
>>> On Mar 18, 2015, at 10:39 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>>> 
>>> On 03/18/2015 02:08 AM, Koji Ishii wrote:
>>>> 2015/03/11 2:42 "Brad Kemper" <brad.kemper@gmail.com <mailto:brad.kemper@gmail.com>>:
>>>> 
>>>>>    I would like the characters that can hang on the end of a line to include a colon. The use case is common when you have
>>>>>    right aligned labels ending in a colon.  It looks weird when the lines wrap and the last word doesn't line up with the
>>>>>    other words.
>>>>> 
>>>>>    Could colons be part of the hanging characters in 'hanging-punctuation: last'? Or could there be a new value, such as
>>>>>    'hanging-punctuation: last-loose', that hangs the characters in the [Po] category?
>>>> 
>>>> I think it depends on author choices, scripts, etc. For instance, Japanese will not want colons to be included.
>>>> 
>>>> I would like properties for finer controls be done in Level 4. fantasai?
>>> 
>>> I'm not sure this is a case for hanging punctuation:
>>> you don't want the colon to be in the margin, you
>>> still want it to take up space. But you want it to be
>>> in a separate "column" in the layout.
>> 
>> I'd be very happy to have it hanging in the right padding,
>> actually, so that everything else lined up on the right.
>> Or do you mean I wouldn't really get that anyway, due to
>> variable kerning, etc. between the colon and the second
>> to last letter?
> 
> If you have a table of words with 8px gap between each cell,
> you don't want the cells that happen to end in a colon to have
> a 4ox gap because the colon is in the gap.

Sure I do. In my use case, if there is a gap or padding, it is both for spacing the labels and for accommodating the colon. It is a case where every label on the left typically ends in a colon, and even those that don't should like up with the rest of the text, not with the colon.

I'd be fine if it was a new value that caused this, so that it didn't interfere with other use cases. 

> You want extra padding corresponding to the colon to be added
> to the lines in that cell that don't end in a colon.

That would work too, I guess. 

Received on Sunday, 29 March 2015 05:06:29 UTC