Procrastiblog

February 7, 2007

Fi, O Fi

Filed under: Emacs, Linux, Tech — Chris @ 7:52 pm

When I cut-and-paste from PDF into Emacs, ligatures come out weird. “specific” comes out . (Note that I had to make that an image, because pasting the same text into a Firefox window renders the ligature correctly. The gobbledygook is a control code that is properly understood by the standard GUI fonts. Note also that the cut-and-paste version is a ligature (fi), but the version I type in directly is not (fi).) Of course, there’s ligatures besides “fi”, and hyphenation is always a problem. Is there a magic Emacs incantation to make this work correctly?

Advertisements

Create a free website or blog at WordPress.com.

%d bloggers like this: