i tried fully embedding a font using directives from How can I verify that the fonts are all embedded in my LuaLatex document? [1], using font BlackChancery from https://www.1001fonts.com/blackchancery-font.html [2]. The embedding seems to work (Adobe Reader says the font is embedded not (subsetted as usual), but i can't seem to make it work inside eforms. [1] also said that i needed to reload my fonts, i tried even uninstalling the font and it dind't work (I'm on Windows if it helps). Can someone help me?
Here's my MWE:
\usepackage{fontspec}
\usepackage{luacode}
\begin{luacode}
local function embedfull(tfmdata)
tfmdata.embedding = "full"
end
luatexbase.add_to_callback("luaotfload.patch_font", embedfull, "embedfull")
\end{luacode}
\setmainfont{Black Chancery}
\usepackage{eforms}
\begin{document}
\centering
\textField[\Q{1}\textFont{Black Chancery}\textSize{15}\V{This text wants to be in chosen font}]{MyText}{100mm}{15mm}
\end{document}
