提交 c8d50e64 编写于 作者: M Marvin Häuser

Docs: Document OpenCanopy image dimension constraints

上级 1e205ada
...@@ -5578,23 +5578,26 @@ directory. Full list of supported icons (in \texttt{.icns} format) is provided b ...@@ -5578,23 +5578,26 @@ directory. Full list of supported icons (in \texttt{.icns} format) is provided b
icons will use the closest available icon. External entries will use \texttt{Ext}-prefixed icons will use the closest available icon. External entries will use \texttt{Ext}-prefixed
icon if available (e.g. \texttt{OldExtHardDrive.icns}). icon if available (e.g. \texttt{OldExtHardDrive.icns}).
\emph{Note}: In the following all dimensions are normative for the 1x scaling level and shall be
scaled accordingly for other levels.
\begin{itemize} \begin{itemize}
\tightlist \tightlist
\item \texttt{Cursor} --- Mouse cursor (mandatory). \item \texttt{Cursor} --- Mouse cursor (mandatory, up to 144x144).
\item \texttt{Selected} --- Selected item (mandatory). \item \texttt{Selected} --- Selected item (mandatory, 144x144).
\item \texttt{Selector} --- Selecting item (mandatory). \item \texttt{Selector} --- Selecting item (mandatory, up to 144x40).
\item \texttt{Left} --- Scrolling left (mandatory). \item \texttt{Left} --- Scrolling left (mandatory, 40x40).
\item \texttt{Right} --- Scrolling right (mandatory). \item \texttt{Right} --- Scrolling right (mandatory, 40x40).
\item \texttt{HardDrive} --- Generic OS (mandatory). \item \texttt{HardDrive} --- Generic OS (mandatory, 128x128).
\item \texttt{Background} --- Centred background image. \item \texttt{Background} --- Centred background image.
\item \texttt{Apple} --- Apple OS. \item \texttt{Apple} --- Apple OS (128x128).
\item \texttt{AppleRecv} --- Apple Recovery OS. \item \texttt{AppleRecv} --- Apple Recovery OS (128x128).
\item \texttt{AppleTM} --- Apple Time Machine. \item \texttt{AppleTM} --- Apple Time Machine (128x128).
\item \texttt{Windows} --- Windows. \item \texttt{Windows} --- Windows (128x128).
\item \texttt{Other} --- Custom entry (see \texttt{Entries}). \item \texttt{Other} --- Custom entry (see \texttt{Entries}, 128x128).
\item \texttt{ResetNVRAM} --- Reset NVRAM system action or tool. \item \texttt{ResetNVRAM} --- Reset NVRAM system action or tool (128x128).
\item \texttt{Shell} --- Entry with UEFI Shell name (e.g. \texttt{OpenShell}). \item \texttt{Shell} --- Entry with UEFI Shell name for e.g. \texttt{OpenShell} (128x128).
\item \texttt{Tool} --- Any other tool. \item \texttt{Tool} --- Any other tool (128x128).
\end{itemize} \end{itemize}
Predefined labels are put to \texttt{\textbackslash EFI\textbackslash OC\textbackslash Resources\textbackslash Label} Predefined labels are put to \texttt{\textbackslash EFI\textbackslash OC\textbackslash Resources\textbackslash Label}
...@@ -5614,9 +5617,10 @@ Full list of labels is provided below. All labels are mandatory. ...@@ -5614,9 +5617,10 @@ Full list of labels is provided below. All labels are mandatory.
\item \texttt{Tool} --- Any other tool. \item \texttt{Tool} --- Any other tool.
\end{itemize} \end{itemize}
\emph{Note}: All labels must have a height of exactly 12 px. There is no limit for their width.
Label and icon generation can be performed with bundled utilities: \texttt{disklabel} and Label and icon generation can be performed with bundled utilities: \texttt{disklabel} and
\texttt{icnspack}. Please refer to sample data for the details about the dimensions. \texttt{icnspack}. Font is Helvetica 12 pt times scale factor.
Font is Helvetica 12 pt times scale factor.
Font format corresponds to \href{https://www.angelcode.com/products/bmfont}{AngelCode binary BMF}. Font format corresponds to \href{https://www.angelcode.com/products/bmfont}{AngelCode binary BMF}.
While there are many utilities to generate font files, currently it is recommended to use While there are many utilities to generate font files, currently it is recommended to use
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册