I noticed the problem with the cases environment, but it is due to using braces that are bigger than \Bigg.
How can I make (1) to be the same style as (2)?
\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont[]{LucidaBrightMathOT.otf}
\begin{document}
\begin{equation}
\begin{cases}
\sum\limits_{i=1}^m & \text{if (i \neq j)} \
1 & \text{if (i = j)}
\end{cases}
\end{equation}
\begin{equation}
\begin{cases}
\sum_{i=1}^m & \text{if (i \neq j)} \
1 & \text{if (i = j)}
\end{cases}
\end{equation}
\end{document}



{then switches to an extension form that has to be straight as it is made up of segments. Or you can use tikz to draw a{and not use a font (answers on this site somewhere) – David Carlisle Nov 06 '22 at 13:13