This question already has an answer here:

Sometimes LaTeX will give the warning like

Missing character: There is no <xxx> in font <xxx>!

How to test it (I mean a macro like \IfCharExist)? And how to replace this missing character with something else like \rule?

marked as duplicate by barbara beeton, Stefan Pinnow, user121799, Troy, ChrisS Jan 11 '18 at 2:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Can you be more precise about your aim? Is this (Xe|Lua)LaTeX with some strange Unicode character? – egreg Jan 10 '18 at 13:07
  • Well, e-TeX has a \iffontchar primitive that tests whether a given slot number (0-255) corresponds to an existing character in a given font. See pp. 13-14 of the e-TeX manual. – GuM Jan 10 '18 at 13:12
  • 1
    @GuM I found this question is dulplicated to this one. – stone-zeng Jan 10 '18 at 13:17
  • 2
    Also possibly related: How to detect an empty unicode slot in a font?. – GuM Jan 10 '18 at 13:18

Browse other questions tagged or ask your own question.