TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanna be able to copy czech characters from PDF, but for some reason it doesn´t work.

here is my code:


and if I write for example říjen (october :), the text is fine in PDF, but when I try to copy it somewhere, I get ˇríjen. (It´s the same for all characters with ˇ).

if I change \usepackage{charter} to \usepackage{tgtermes}, the character ř is fine. But I would like to use charter font because it simply looks better, but I need to be able to copy czech characters.

How can I achieve copying czech characters with charter?

share|improve this question
Welcome to TeX.SE. – Peter Grill Nov 5 '12 at 20:27
thanks for the fast reply – George Nov 5 '12 at 20:37
As we're talking about accents already: You shouldn't use acute accents ´ as apostrophes (wrong: don´t), but actual apostrophes ' instead (right: don't). On Czech keyboards, the apostrophe seems to be left of the backspace key. – doncherry Nov 5 '12 at 22:18
up vote 4 down vote accepted

The characters in TeX Gyre Termes are "real" glyphs, that is, they are fully precomposed.

In the case of Charter, the accented glyphs are realized by adding the accent to the letter. This happens via a virtual font, so that TeX is not confused when trying hyphenation, but the final output has the composed glyphs anyway.

Either you find a Charter font that has precomposed glyphs or there's little to do about this.

Here is the entry in the virtual font definition for bchr8t, the text font used when Charter is requested, for character octal 260, which in the T1 encoding corresponds to "ř":

   (CHARWD R 0.382)
   (CHARHT R 0.741)
      (MOVEDOWN R -0.01)
      (MOVERIGHT R -0.059)
      (SETCHAR O 20)
      (SETCHAR C r)

This clearly shows how the glyph is composed by two parts: the accent (octal 20) and the "r".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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