5

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?

3
  • I don't think your issue is related to your font, accents are in separate glyphs in your example.
    – user12563
    Commented Jan 14, 2019 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
    Commented Jan 15, 2019 at 8:19
  • It could be just clever character positioning, I've seen things of this sort in PDFs.
    – user12563
    Commented Jan 15, 2019 at 13:37

1 Answer 1

4

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 and acknowledge you have read our privacy policy.

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