You can display the some of the glyphs in a font using Context document (assuming the font is called whatever.otf):
\definefontsynonym[Dummy][file:whatever.otf][features=default]
\starttext
\showfont[Dummy]
\stoptext
This displays the offset numbers that you can use in Latex with \symbol, for the first 256 glyphs in the font.
Postcript
The following code iterates over all the characters in a given OTF file. For some reason unclear to me, this generally seems to include a lot of character entities not associated with glyphs.
%%Define font name and font path here
\def\fontname{Jerusalem}
\def\filename{/usr/X11/lib/X11/fonts/OTF/SyrCOMJerusalem.otf}
\startluacode
charset={}
function fonttablechars (f)
local cs, r = f.characters, {}
for c in pairs(cs) do
r[1+#r]=c
end
table.sort(r)
return r
end
function setcharset ()
charset = fonttablechars(font.fonts[font.current()])
return charset
end
function printcharset ()
local step=9
context "\\bTABLE[split=yes] "
for i=1,#charset,step do
context "\\bTR "
for j=0,step-1 do
local v, cstr = i+j, tostring(charset[i+j])
if not charset[v] then break end
context ('\\bTD \\ppno{%s} \\eTD \\bTD \\glyph{%s} \\eTD ', cstr, cstr)
end
context "\\eTR "
end
context "\\eTABLE "
end
\stopluacode
\definefontsynonym[\fontname][file:\filename][features=default]
\def\glyph#1{\getglyph{\fontname}{#1}}
\def\ppno#1{#1\relax}
\starttext
\section{Print font \fontname\ from \filename}
\setupbodyfont [\fontname]
\directlua0{setcharset()}
\setupbodyfont [mainface]
\directlua0{printcharset()}
\stoptext