How can I change the code above to obtain the glyph without loading several fonts?.. If it is possible. :-)
\documentclass[12pt]{article}
% Source: https://tex.stackexchange.com/a/40767/6880
\newcommand{\PrintMathFonts}{%
\count255=0
\loop\ifnum\count255<16
(\the\count255:~\fontname\textfont\count255)
\advance\count255 by 1
\repeat}
\DeclareFontFamily{U}{mathb}{}
\DeclareFontShape{U}{mathb}{m}{n}{
<-5.5> mathb5
<5.5-6.5> mathb6
<6.5-7.5> mathb7
<7.5-8.5> mathb8
<8.5-9.5> mathb9
<9.5-11> mathb10
<11-> mathb12
}{}
\DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
\DeclareFontSubstitution{U}{mathb}{m}{n}
\DeclareMathSymbol{\test}{3}{mathb}{"D8}
\begin{document}
\PrintMathFonts
$\test$
\PrintMathFonts
\end{document}
unicode-math, you no longer are limited to sixteen 8-bit math fonts. – Davislor Mar 03 '21 at 16:48mathb) you can't load less than that without deleting everything, – David Carlisle Mar 03 '21 at 19:25