From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 16 Oct 2003 19:41:17 +0600 From: Alexander Kirey To: sisyphus@altlinux.ru Message-Id: <20031016194117.148d5fd3.kirey@mmk.ru> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i586-alt-linux-gnu) X-Face: Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-MDRemoteIP: 161.8.43.67 X-Return-Path: kirey@mmk.ru X-MDaemon-Deliver-To: sisyphus@altlinux.ru Subject: [sisyphus] ghostscript and TTF =?koi8-r?b?KM3Fys7UxcrOxdLV?= ghostscript) X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 15:41:10 -0000 Archived-At: List-Archive: Здравствуйте! Нашён ответ на интересующий меня вопрос как подключить ttf шрифты к ghostscript: http://lists.suse.com/archive/m17n/2003-Jan/0012.html >Yes, you can add Fontmap.ttf to >/usr/share/ghostscript/7.05/lib/Fontmap >like this: > > root@nozomi:/usr/share/ghostscript/7.05/lib# cat Fontmap > %! > % See Fontmap.GS for the syntax of real Fontmap files. > (Fontmap.GS) .runlibfile > (Fontmap.kanji) .runlibfile > (Fontmap.rus) .runlibfile > (Fontmap.CID) .runlibfile > (Fontmap.greek) .runlibfile > (Fontmap.ttf) .runlibfile > root@nozomi:/usr/share/ghostscript/7.05/lib# > >and create a /usr/share/ghostscript/7.05/lib/Fontmap.ttf containing >the TrueType fonts you want to use, for example: > > root@nozomi:/usr/share/ghostscript/7.05/lib# cat Fontmap.ttf > /LuxiSerif (/usr/X11R6/lib/X11/fonts/truetype/luxirr.ttf) ; > root@nozomi:/usr/share/ghostscript/7.05/lib# Есть по умолчанию поддержка загрузки ttf в ghostscript? Судя по всему за загрузку TTF отвечает gs_ttf.ps в котором сказано: % Note that if you want to use this file without including the ttfont.dev % option when you built Ghostscript, you will need to load the following % files before this one: % lib/gs_mgl_e.ps % lib/gs_mro_e.ps % lib/gs_wan_e.ps В вашей сборке включена загрузка ttf? Я создал свой Fontmap.ttf, но gs даёт ошибки... -- Александр Кирей