使用 tikz + Optex 制作的书籍封面

使用 tikz + Optex 制作的书籍封面

我想在页面周围添加一个框架,但不知何故右侧和底部的框架没有出现。(任何更优雅的整体解决方案,无论是使用 Tikz 还是其他,都欢迎。)

\load[tikz]
\usetikzlibrary{arrows.meta, calc,positioning}

\fontfam[Minion]
\topglue 0pt plus 1fill
\nopagenumbers
\margins/1 a4 (2,2,2,2)cm


\setbox0\hbox {\typoscale[3000/3000] \setletterspace{10}\caps\rm  ~~~A Wonderful Title~~~}
\newdimen\bd
\bd=\wd0

%\_overfullrule=0pt


\pgbackground={\noindent\tikzpicture
\node (titulo) at (current page.center) {\box0};
\node[below=of titulo] {\typoscale[2000/2000]\it John Doe};
\node[below= 9cm of titulo] {\typoscale[1500/1500]\caps\rm Myself Editions, Inc.};
\draw (current page.center)  node[draw,red,line width=5pt,minimum height=22cm,minimum width=\dimexpr\bd+0.8cm] {};
\draw (current page.center) node[minimum height=24cm,minimum width=\dimexpr\bd+2.3cm,draw,line width=8pt,red] {};
\draw[line width=8pt,black] (current page.south west) rectangle (current page.north east);
\endtikzpicture}



\vfill \eject


\pgbackground={}
\pageno=1

\lipsum[1]


\bye

相关内容