From 873c488c1ccc3ac2e84f5b3425084694cc2d9805 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 11 Sep 2019 21:41:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A8=D1=80=D0=B8=D1=84=D1=82=20=D0=93=D0=9E?= =?UTF-8?q?=D0=A1=D0=A2=20=D0=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xespdfont.sty | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xespdfont.sty b/xespdfont.sty index 38542d6..cc9d87d 100644 --- a/xespdfont.sty +++ b/xespdfont.sty @@ -65,15 +65,11 @@ \RequirePackage{ifxetex} \ifxetex - \newcommand{\XESPDtheGostFontName}{} - \newcommand{\XESPDgostFontName}[1]{\renewcommand{\XESPDtheGostFontName}{#1}} + \newfontfamily\gostafont{GOST A} \newcommand{\XESPDfontGostIII}{% - \XESPDfontSetBaseLineStretch - \XESPDfontIIIsize\setmainfont{\XESPDtheGostFontName}} + \XESPDfontSetBaseLineStretch\XESPDfontIIIsize\gostafont} \newcommand{\XESPDfontGostIV}{% - \XESPDfontSetBaseLineStretch - \XESPDfontIVsize\setmainfont{\XESPDtheGostFontName}} - \XESPDgostFontName{GOST A} + \XESPDfontSetBaseLineStretch\XESPDfontIVsize\gostafont} \setsansfont[Mapping=tex-text]{Arial} \setromanfont[Mapping=tex-text]{XITS} \setmainfont[Ligatures=TeX]{Times New Roman}