Disable font ligatures

1,493 views
Skip to first unread message

dbka...@gmail.com

unread,
Jun 25, 2016, 9:16:25 PM6/25/16
to chromium-hterm
I have been using hterm for a while now and it is great. One problem I found is that ligatures are not disabled for fonts with ligatures. For reference, a ligature is when two characters render as one glyph. This makes text look better but is problematic for a fixed-width environment such as a terminal. For instance this monospace font uses turns "fi" into a ligature which should be disabled for proper rendering. The solution should be as simple as
font-feature-settings: "liga" 0;


See also:

Mike Frysinger

unread,
Jun 25, 2016, 10:42:13 PM6/25/16
to dbka...@gmail.com, chromium-hterm

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/27cb7285-6587-4627-9fe1-28b63bf31582%40chromium.org.

sc...@dier.name

unread,
Nov 15, 2016, 11:24:27 AM11/15/16
to chromium-hterm, dbka...@gmail.com
Heh, I was using those! :)

This broke programming ligatures for Pragmata Pro users.  I was able to add font-feature-settings: "liga" 1; to my css to compensate, though, so no worries. :)  Just replying so if someone else using this font is wondering why it broke...

Thanks,

Scott
Reply all
Reply to author
Forward
0 new messages