4

I have some copied text from a pdf which renders like this with my current font:

enter image description here

I know I could use a different font that handles Unicode characters better, but I would rather find a function to compose the two characters into one character:

a" --> ä
a° --> å
o¨ --> ö
etc

Is there such a function?

  • I don't think your issue is related to your font, accents are in separate glyphs in your example. – DoMiNeLa10 Jan 14 at 19:30
  • @DoMiNeLa10 I'm not sure how it works, but in the pdf the glyphs seem to be combined to show one character, such as ä or å. But the answer from Stefan solved it, anyway. – trmdttr Jan 15 at 8:19
  • It could be just clever character positioning, I've seen things of this sort in PDFs. – DoMiNeLa10 Jan 15 at 13:37
3

I think you want to

M-x ucs-normalize-NFC-region RET

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.