This document works fine with xelatex, but not with lualatex:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Berling Roman}
\begin{document}
Hello123
\end{document}
With lualatex it halts with an error about the ttf at the end:
</st/local/fonts/TrueType/Berling TT/BNR_____.TTF
! error: (file /st/local/fonts/TrueType/Berling TT/BNR_____.TTF) (type 2): the
file ended prematurely
! ==> Fatal error occurred, no output PDF file produced!
That ttf file I use for Karl-Erik Forsberg’s Berling antikva is not free, but part of the graphic profile for my university, and they have it available here if you follow the link "För PC".
\setmainfont[Renderer=Basic]{Berling Roman}, and see whether that works. – Davislor May 09 '18 at 16:25Anyway, fontforge opens the file without warnings, and the
– pst May 09 '18 at 18:44Renderer=Basictrick doesn't work.xetexorluatex: the encoding is all wrong. I get lots of warnings about glyphs being mapped to the wrong code point when I open them in FontForge. – Thérèse May 09 '18 at 19:13