An epub file is just zipped up html, unzip it and look at the relevant parts (you can use the tweak epub feature in calibre to do this). I suspect you will find the text is not really text. It will be an image, or an SVG or have something else funky about it