Subject: bug#26959: Feature request: bold underlines

From: Clément Pit--Claudel <[email-masked]>
Date: Wed, 17 May 2017 00:39:18 -0400

On 2017-05-17 00:21, Drew Adams wrote:
>> Could underline thickness be made configurable? It would be nice to be able
>> to pick between regular and thick/bold underlines (the later would be
>> obtained by doubling the usual underline thickness, I imagine).
> 
> See my reply to bug #26958.  Should we have two requests:

Thanks for your replies :)

> 1. Wavy (and plain) underline to follow text scaling (#26958).
> 2. Be able to configure underline line-width (#26959).

Yes, that's a great summary.

> Is #2 enough?  If we could customize the :line-width for :underline
> (and :overline? and :strike-through?), would that be sufficient, or
> is there also a need for such lines to be sensitive to text scaling?

I don't think so — sensitivity to text scaling would be a useful, distinct feature.  Otherwise Lisp code will have to inspect font sizes and adjust thickness based on it, which will cause inconsistencies.  Additionally, the amount of space between the text and the underline needs to be adjusted when the font size changes — and this is currently done on GNU/Linux already.

Clément.