When using #METAFONT fonts (compiled to pfb) in #XeLaTeX, in which place the glyph to searchable/copyable unicode text mapping should be defined?

#TeX

@vftdan it is workable through \pdfgentounicode with pdfTeX but not XeTeX. However it is possible to edit the font encode file (.enc) associated with the PFB defined in the fontmap file