This is, for the moment, just an experiment with Minion Pro optical font sizes. I'm trying to produce a large letter g to compare the Caption, Normal, Subhead, and Display-size fonts. Here's the code:
% !TEX TS-program = XeLaTeX
\documentclass[a4paper,12pt,oneside]{article}
\usepackage{fontspec}
\begin{document}
\fontsize{72}{72}
\newfontfamily\fonta[SizeFeatures={{Size={5-120},Font=* Display}}]{Minion Pro}
\newfontfamily\fontb[SizeFeatures={{Size={5-120},Font=* Subhead}}]{Minion Pro}
\newfontfamily\fontc[SizeFeatures={{Size={5-120},Font=*}}]{Minion Pro}
\newfontfamily\fontd[SizeFeatures={{Size={5-120},Font=* Caption}}]{Minion Pro}
\fonta g \fontb g \fontc g \fontd g
\end{document}
but I get four identical letters g, and the only font in the .pdf is the Display-size font.
Am I doing something wrong (and, if so, what)? Or do these "intelligent fonts" think they're more intelligent than I am (a distinct possibility, BTW)?
Update:
I can reproduce @Herbert's answer. With LuaLaTeX, all four fonts are present. According to the log (trimmed), fontspec appears to be reporting the font definitions slightly differently. I have no idea how significant these differences are. For example:
XeLaTeX:
. * 'normal' with NFSS spec.:
. <5-120>"Minion Pro Subhead/ICU:script=latn;language=DFLT;"
. * 'small caps' with NFSS spec.:
. <5-120>"Minion Pro Subhead/ICU:script=latn;language=DFLT;+smcp;"
. * 'bold' with NFSS spec.:
. <5-120>"Minion Pro/B Subhead/ICU:script=latn;language=DFLT;"
. * 'bold small caps' with NFSS spec.:
. <5-120>"Minion Pro/B Subhead/ICU:script=latn;language=DFLT;+smcp;"
. * 'italic' with NFSS spec.:
. <5-120>"Minion Pro/I Subhead/ICU:script=latn;language=DFLT;"
. * 'italic small caps' with NFSS spec.:
. <5-120>"Minion Pro/I Subhead/ICU:script=latn;language=DFLT;+smcp;"
. * 'bold italic' with NFSS spec.:
. <5-120>"Minion Pro/BI Subhead/ICU:script=latn;language=DFLT;"
. * 'bold italic small caps' with NFSS spec.:
. <5-120>"Minion Pro/BI Subhead/ICU:script=latn;language=DFLT;+smcp;"
LuaLaTeX:
. * 'small caps' with NFSS spec.:
. <5-120>"name:MinionProSubhead:mode=node;script=latn;language=DFLT;+smcp;"
. * 'bold' with NFSS spec.:
. <5-120>"name:MinionPro/BSubhead:mode=node;script=latn;language=DFLT;"
. * 'bold small caps' with NFSS spec.:
. <5-120>"name:MinionPro/BSubhead:mode=node;script=latn;language=DFLT;+smcp;"
. * 'italic' with NFSS spec.:
. <5-120>"name:MinionPro/ISubhead:mode=node;script=latn;language=DFLT;"
. * 'italic small caps' with NFSS spec.:
. <5-120>"name:MinionPro/ISubhead:mode=node;script=latn;language=DFLT;+smcp;"
. * 'bold italic' with NFSS spec.:
. <5-120>"name:MinionPro/BISubhead:mode=node;script=latn;language=DFLT;"
. * 'bold italic small caps' with NFSS spec.:
. <5-120>"name:MinionPro/BISubhead:mode=node;script=latn;language=DFLT;+smcp;"
