Re:Smarter Link Underlines For Every Website
by fit2rule on Tuesday November 11, 2014 @10:37AM
(#8590298)
The point is that if ligatures are used for this, no modifications to the font rendering front end is needed. Its already there - you just need to use the feature. The way to do that is with ligatures in your text..
[ Parent
| on HN ]
Re:Smarter Link Underlines For Every Website
by WiseWeasel on Tuesday November 11, 2014 @08:25PM
(#8593466)
That's not what ligatures are for; ligatures are for joining two adjacent letters. I don't believe font formats support this descender dodging feature for underlining, hence the need for the renderer to take charge.
Re:Smarter Link Underlines For Every Website
by fit2rule on Wednesday November 12, 2014 @03:41AM
(#8594545)
Well, I would argue that using a ligature to establish the alpha gap around the lettering is a better use than hacking up a non-standard feature to the renderer. The gaps are attachments to the type, so ligatures are appropriate - since they would be used in this case to join/split the underline - which itself could be argued is a ligature, per-face, also.